Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Callback(loggedInPath string) http.HandlerFunc
- func (a *Handler) Login(aud string) http.HandlerFunc
- func (a *Handler) Logout(returnTo string) http.HandlerFunc
- func (a *Handler) RenderFile(name string, data []byte) http.HandlerFunc
- func (a *Handler) RequireLogin(redirect string, next http.HandlerFunc) http.HandlerFunc
- func (a *Handler) WriteFile(name string) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func NewHandler ¶
func (*Handler) RenderFile ¶
func (a *Handler) RenderFile(name string, data []byte) http.HandlerFunc
func (*Handler) RequireLogin ¶
func (a *Handler) RequireLogin(redirect string, next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.