Documentation ¶ Index ¶ func GetHandler() *http.ServeMux func ValidPasswd() error type Server func NewServer(address string) (*Server, error) func (s *Server) Start(ctx context.Context) error func (s *Server) Stop(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetHandler ¶ func GetHandler() *http.ServeMux func ValidPasswd ¶ func ValidPasswd() error Types ¶ type Server ¶ type Server struct { http.Server } func NewServer ¶ func NewServer(address string) (*Server, error) func (*Server) Start ¶ func (s *Server) Start(ctx context.Context) error func (*Server) Stop ¶ func (s *Server) Stop(ctx context.Context) error Source Files ¶ View all Source files server.go Directories ¶ Show internal Expand all Path Synopsis handler render Click to show internal directories. Click to hide internal directories.