Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustHandlerTable ¶
func MustHandlerTable(o interface{}) map[string]HandlerFunc
func NewHandlerTable ¶
func NewHandlerTable(o interface{}) (map[string]HandlerFunc, error)
Types ¶
type HandlerTable ¶
type HandlerTable map[string]HandlerFunc
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func MustServer ¶
func MustServer(o interface{}) *Server
func NewServerWithTable ¶
func NewServerWithTable(t HandlerTable) (*Server, error)
Click to show internal directories.
Click to hide internal directories.