Documentation ¶
Index ¶
Constants ¶
View Source
const ( SessionCtxKey = "boardsite-session" SecretCtxKey = "boardsite-session-secret" UserCtxKey = "boardsite-user" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface { PostCreateSession(c echo.Context) error PostCreateSessionConfig(c echo.Context) error PutSessionConfig(c echo.Context) error GetSessionConfig(c echo.Context) error PostUsers(c echo.Context) error PutKickUser(c echo.Context) error PutUser(c echo.Context) error GetSocket(c echo.Context) error GetPageRank(c echo.Context) error PostPages(c echo.Context) error PutPages(c echo.Context) error GetPage(c echo.Context) error GetPageSync(c echo.Context) error PostPageSync(c echo.Context) error PostAttachment(c echo.Context) error GetAttachment(c echo.Context) error }
func NewHandler ¶
func NewHandler(cfg config.Session, dispatcher session.Dispatcher) Handler
Click to show internal directories.
Click to hide internal directories.