Documentation ¶
Index ¶
Constants ¶
View Source
const ( EndpointAddSession = iota EndpointDeleteSession )
Contains the index of all Endpoints
Variables ¶
View Source
var SessionEndpoints = router.Endpoints{ EndpointAddSession: { Verb: "POST", Path: "/sessions", Handler: handlers.AddSession, Params: &handlers.AddSessionParams{}, }, EndpointDeleteSession: { Verb: "DELETE", Path: "/sessions/{token}", Handler: handlers.DeleteSession, Params: &handlers.DeleteSessionParams{}, Auth: router.LoggedUserAccess, }, }
SessionEndpoints is a list of endpoints for this components
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.