Documentation ¶
Index ¶
- func NewRouter(authService *auth.Service, userRepo muser.Repository, ...) http.Handler
- type CreateStatsTaskOutput
- type ErrorResponse
- type GetMyselfOutput
- type GetTaskStatusOutput
- type GetUsersOutput
- type IssueAccessToken
- type RegisterInput
- type RegisterOutput
- type Response
- type UpdateMyselfInput
- type UpdateMyselfOutput
- type UserOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateStatsTaskOutput ¶
type ErrorResponse ¶
type GetMyselfOutput ¶
type GetMyselfOutput = UserOutput
type GetTaskStatusOutput ¶
type GetUsersOutput ¶
type GetUsersOutput struct {
Users []UserOutput `json:"users"`
}
type IssueAccessToken ¶
type IssueAccessToken struct {
AccessToken string `json:"access_token"`
}
type RegisterInput ¶
type RegisterOutput ¶
type RegisterOutput struct {
RefreshToken string `json:"refresh_token"`
}
type Response ¶
type Response struct { Result interface{} `json:"result,omitempty"` Error *ErrorResponse `json:"error,omitempty"` }
type UpdateMyselfInput ¶
type UpdateMyselfOutput ¶
type UpdateMyselfOutput = UserOutput
Click to show internal directories.
Click to hide internal directories.