Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalHost ¶
canonicalHost strips port from host if present and returns the canonicalized host name.
func OkResponse ¶
func ParseBasicAuth ¶
Types ¶
type RouterRegisterHelper ¶
type RouterRegisterHelper struct { Router *mux.Router AssetsFS http.FileSystem AuthMiddleware mux.MiddlewareFunc }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) RouteRegister ¶
func (s *Server) RouteRegister(register func(helper *RouterRegisterHelper))
Click to show internal directories.
Click to hide internal directories.