Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
Handlers provides methods servicing poros HTTP routes.
func NewHandlers ¶
NewHandlers initialises a new Handlers instance.
func (*Handlers) GetAuthState ¶
GetAuthState returns data about the current user and the access token associated with the current session.
func (*Handlers) RegisterRoutes ¶
func (h *Handlers) RegisterRoutes(r *router.Router, mw router.MiddlewareChain)
RegisterRoutes registers routes explicitly handled by the handler.
Click to show internal directories.
Click to hide internal directories.