Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigItem ¶
type ConfigItem struct {
Addr string `yaml:"addr" json:"addr"`
}
type EpollConfig ¶
type EpollConfig struct {
Epoll ConfigItem `yaml:"epoll" json:"epoll"`
}
http server config
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewCustomServer ¶
func NewCustomServer(conf ConfigItem, log logger.Logger) *Server
func (*Server) Handler ¶
func (_srv *Server) Handler(h ConnectionHandler)
Click to show internal directories.
Click to hide internal directories.