Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHandler ¶
AddHandler add http.Handler to the router on specific path
Types ¶
type Config ¶
type Config struct {
// Listen address and port
Listen string `yaml:"listen"`
}
Config config structure from Manopus HTTP server
type Server ¶
Server implementation of Manopus HTTP server
func (*Server) AddHandler ¶
AddHandler add http.Handler to the router on specific path
func (*Server) SetDefaultHandler ¶
SetDefaultHandler sets default http.Handler for all unspecified paths
Click to show internal directories.
Click to hide internal directories.