Documentation ¶ Index ¶ type Server func New(cfg *config.Config, provider *oidc.Provider, s *store.Store, ...) (*Server, error) func NewWithAdminKey(cfg *config.Config, provider *oidc.Provider, s *store.Store, ...) (*Server, error) func (s *Server) Handler() http.Handler func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func New ¶ func New(cfg *config.Config, provider *oidc.Provider, s *store.Store, templates embed.FS) (*Server, error) func NewWithAdminKey ¶ func NewWithAdminKey(cfg *config.Config, provider *oidc.Provider, s *store.Store, templates embed.FS, adminKey string) (*Server, error) func (*Server) Handler ¶ func (s *Server) Handler() http.Handler func (*Server) ServeHTTP ¶ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.