Documentation ¶
Index ¶
- type AccessDetails
- type MetaData
- type RequestCreateToDo
- type RequestDeleteToDo
- type RequestJoinUser
- type RequestLoginUser
- type RequestUpdateToDo
- type ResponseError
- type ResponseOk
- type ResponseOkCreateToDo
- type ResponseOkJoinUser
- type ResponseOkLoginUser
- type ResponseOkLogout
- type ResponseOkReadToDo
- type ResponseOkUpdateToDo
- type ToDo
- type TokenDatas
- type TokenDetails
- type UpdateToDo
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDetails ¶
type MetaData ¶
type MetaData struct { Status string `json:"status"` StatusCode int `json:"status_code"` Success bool `json:"success"` Message string `json:"message"` }
=== Response ===
type RequestCreateToDo ¶
type RequestDeleteToDo ¶
type RequestJoinUser ¶
type RequestJoinUser struct { Email string `json:"email"` Password string `json:"password"` NickName string `json:"nick_name"` }
=== Request ===
type RequestLoginUser ¶
type RequestUpdateToDo ¶
type ResponseError ¶
type ResponseOk ¶
type ResponseOkCreateToDo ¶
type ResponseOkJoinUser ¶
type ResponseOkLoginUser ¶
type ResponseOkLoginUser struct { Meta MetaData `json:"meta"` Data TokenDatas `json:"data"` ResponsedAt time.Time `json:"responsed_at"` }
type ResponseOkLogout ¶
type ResponseOkReadToDo ¶
type ResponseOkUpdateToDo ¶
type TokenDatas ¶
type TokenDetails ¶
type TokenDetails struct { UserUUID uuid.UUID `json:"user_uuid"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` AccessUUID uuid.UUID `json:"access_uuid"` RefreshUUID uuid.UUID `json:"refresh_uuid"` AtExpires int64 `json:"at_expires"` RtExpires int64 `json:"rt_expires"` }
type UpdateToDo ¶
Click to show internal directories.
Click to hide internal directories.