Documentation ¶ Index ¶ func New(config *ServerConfig) lib.Server type Server func (s *Server) Close() error func (s *Server) Listener() net.Listener func (s *Server) Open(addr string) (net.Listener, error) func (s *Server) Running() bool func (s *Server) WaitGroup() *sync.WaitGroup type ServerConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(config *ServerConfig) lib.Server Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func (*Server) Close ¶ func (s *Server) Close() error func (*Server) Listener ¶ func (s *Server) Listener() net.Listener func (*Server) Open ¶ func (s *Server) Open(addr string) (net.Listener, error) func (*Server) Running ¶ func (s *Server) Running() bool func (*Server) WaitGroup ¶ func (s *Server) WaitGroup() *sync.WaitGroup type ServerConfig ¶ type ServerConfig struct { BackendAddr string } Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.