Documentation
¶
Index ¶
- func LogRequestURL(next http.Handler) http.Handler
- func NewAdminHandler(server *Server) chi.Router
- func NewLogin(authenticate Storage, callback func(context.Context, string) string, ...) *login
- func NewSignupHandler(storage Storage, vtx *vertex.VertexChecker) chi.Router
- func SetupServer(server *Server, extraOptions ...op.Option) chi.Router
- type Server
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminHandler ¶
NewSignupHandler creates a new signup handler
func NewSignupHandler ¶
func NewSignupHandler(storage Storage, vtx *vertex.VertexChecker) chi.Router
NewSignupHandler creates a new signup handler
Types ¶
type Server ¶
type Server struct {
Storage Storage
Vertex *vertex.VertexChecker
OIDCProvider op.OpenIDProvider
OIDCIssuer string
OIDCAllowInsecure bool
}
Click to show internal directories.
Click to hide internal directories.