16 lines
196 B
Go
16 lines
196 B
Go
|
package ysv
|
||
|
|
||
|
import "net/http"
|
||
|
|
||
|
type Server struct {
|
||
|
}
|
||
|
|
||
|
func NewServer(sm *http.ServeMux) *Server {
|
||
|
s := &Server{}
|
||
|
addRoutes(sm, s)
|
||
|
return s
|
||
|
}
|
||
|
|
||
|
func addRoutes(sm *http.ServeMux, s *Server) {
|
||
|
}
|