Documentation ¶ Index ¶ func NewRouter() http.Handler type Server func New(addr string) *Server func (s *Server) ShutDown(ctx *context.Context) error func (s *Server) ShutDownWithDefaultContext() error func (s *Server) Start() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewRouter ¶ func NewRouter() http.Handler Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func New ¶ func New(addr string) *Server func (*Server) ShutDown ¶ func (s *Server) ShutDown(ctx *context.Context) error func (*Server) ShutDownWithDefaultContext ¶ func (s *Server) ShutDownWithDefaultContext() error func (*Server) Start ¶ func (s *Server) Start() error Source Files ¶ View all Source files router.goserver.go Click to show internal directories. Click to hide internal directories.