Documentation ¶
Index ¶
- func LoginCallback(oneLoginClient LoginCallbackOneLoginClient, sessionStore sesh.Store) page.Handler
- func Register(rootMux *http.ServeMux, tmpls template.Templates, ...)
- type ErrorHandler
- type Handler
- func EnterOrganisationName(tmpl template.Template, organisationStore OrganisationStore) Handler
- func InviteMember(tmpl template.Template, organisationStore OrganisationStore, ...) Handler
- func OrganisationCreated(tmpl template.Template, organisationStore OrganisationStore) Handler
- func TODO() Handler
- type LoginCallbackOneLoginClient
- type NotifyClient
- type OneLoginClient
- type OrganisationStore
- type SessionStore
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginCallback ¶
func LoginCallback(oneLoginClient LoginCallbackOneLoginClient, sessionStore sesh.Store) page.Handler
func Register ¶
func Register( rootMux *http.ServeMux, tmpls template.Templates, oneLoginClient OneLoginClient, sessionStore SessionStore, organisationStore OrganisationStore, notFoundHandler page.Handler, errorHandler page.ErrorHandler, notifyClient NotifyClient, )
Types ¶
type ErrorHandler ¶
type ErrorHandler func(http.ResponseWriter, *http.Request, error)
type Handler ¶
func EnterOrganisationName ¶ added in v0.946.0
func EnterOrganisationName(tmpl template.Template, organisationStore OrganisationStore) Handler
func InviteMember ¶ added in v0.949.0
func InviteMember(tmpl template.Template, organisationStore OrganisationStore, notifyClient NotifyClient, randomString func(int) string) Handler
func OrganisationCreated ¶ added in v0.948.0
func OrganisationCreated(tmpl template.Template, organisationStore OrganisationStore) Handler
type NotifyClient ¶ added in v0.949.0
type OneLoginClient ¶
type OrganisationStore ¶ added in v0.946.0
type SessionStore ¶
Click to show internal directories.
Click to hide internal directories.