Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginHandler ¶
LoginHandler handles login
func (*LoginHandler) ServeHTTP ¶
func (p *LoginHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type PostHandler ¶
type PostHandler struct {
// contains filtered or unexported fields
}
PostHandler is the handler for /post url
func NewPostHandler ¶
func NewPostHandler(log debug.Logger) *PostHandler
NewPostHandler return a new Post handler
func (*PostHandler) ServeHTTP ¶
func (p *PostHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type RefreshHandler ¶
RefreshHandler is the handler to refresh access token
func (*RefreshHandler) ServeHTTP ¶
func (u *RefreshHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
type UserHandler ¶
UserHandler is the handler for the user route
func (*UserHandler) ServeHTTP ¶
func (u *UserHandler) ServeHTTP(writer http.ResponseWriter, request *http.Request)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.