Documentation ¶
Index ¶
- func NewTcpSocket(addr string, config *tlsConfig, activate <-chan struct{}) (net.Listener, error)
- func NewUnixSocket(path, group string, activate <-chan struct{}) (net.Listener, error)
- func ProfilerSetup(mainRouter *mux.Router, path string)
- type HttpApiFunc
- type HttpServer
- type Server
- type ServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTcpSocket ¶
func NewUnixSocket ¶
func ProfilerSetup ¶
Types ¶
type HttpApiFunc ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func (*HttpServer) Close ¶
func (s *HttpServer) Close() error
func (*HttpServer) Serve ¶
func (s *HttpServer) Serve() error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *ServerConfig) *Server
func (*Server) AcceptConnections ¶
Click to show internal directories.
Click to hide internal directories.