Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(g *server.RouterGroup)
Types ¶
type LoginReply ¶
LoginReply defines the reply from /api/auth/login
type LoginRequest ¶
LoginRequest defines the request to /api/auth/login
type LogoutReply ¶
type LogoutReply struct {
Success bool `json:"success"`
}
LogoutReply defines the reply from /api/auth/logout
Click to show internal directories.
Click to hide internal directories.