Documentation ¶ Index ¶ type Option func WithPathPrefix(prefix string) Option type Server func New(cfg config.AppConfig, providers providers.Registry, opts ...Option) (*Server, error) func (s *Server) Handler() http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Option ¶ type Option func(*Server) func WithPathPrefix ¶ func WithPathPrefix(prefix string) Option type Server ¶ type Server struct { // contains filtered or unexported fields } func New ¶ func New(cfg config.AppConfig, providers providers.Registry, opts ...Option) (*Server, error) func (*Server) Handler ¶ func (s *Server) Handler() http.Handler Source Files ¶ View all Source files handlers.goserver.go Click to show internal directories. Click to hide internal directories.