Documentation ¶
Index ¶
- Constants
- func CreateFeedEndpoint(svc users.Service) endpoint.Endpoint
- func CreatePreferenceEndpoint(svc users.Service) endpoint.Endpoint
- func CreateUserEndpoint(svc users.Service) endpoint.Endpoint
- func DeletePreferenceEndpoint(svc users.Service) endpoint.Endpoint
- func DeleteUserEndpoint(svc users.Service) endpoint.Endpoint
- func FollowEndpoint(svc users.Service) endpoint.Endpoint
- func GetFeedEndpoint(svc users.Service) endpoint.Endpoint
- func GetFollowingsEndpoint(svc users.Service) endpoint.Endpoint
- func GetUserEndpoint(svc users.Service) endpoint.Endpoint
- func GetUserPreferenceEndpoint(svc users.Service) endpoint.Endpoint
- func GetUsersEndpoint(svc users.Service) endpoint.Endpoint
- func IdentifyUserEndpoint(svc users.Service) endpoint.Endpoint
- func IssueTokenEndpoint(svc users.Service) endpoint.Endpoint
- func RefreshTokenEndpoint(svc users.Service) endpoint.Endpoint
- func UnfollowEndpoint(svc users.Service) endpoint.Endpoint
- func UpdatePasswordEndpoint(svc users.Service) endpoint.Endpoint
- func UpdatePreferenceEndpoint(svc users.Service, field entityField) endpoint.Endpoint
- func UpdateUserEndpoint(svc users.Service, field entityField) endpoint.Endpoint
- type CreateFeedReq
- type CreatePreferenceReq
- type CreateUserReq
- type EntitiesReq
- type EntityReq
- type FollowReq
- type GetPreferenceReq
- type IssueTokenReq
- type RefreshTokenReq
- type SVC
- type UpdatePasswordReq
- type UpdatePreferenceReq
- type UpdateUserReq
Constants ¶
View Source
const ( UsernameField entityField = "username" EmailField entityField = "email" BioField entityField = "bio" PictureField entityField = "picture" PreferencesField entityField = "preferences" PushField entityField = "push" AllFields entityField = "all" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateFeedReq ¶
type CreatePreferenceReq ¶
type CreatePreferenceReq struct { Token string users.Preference }
type CreateUserReq ¶
type GetPreferenceReq ¶
type IssueTokenReq ¶
type RefreshTokenReq ¶
type RefreshTokenReq struct {
Token string
}
type UpdatePasswordReq ¶
type UpdatePreferenceReq ¶
type UpdatePreferenceReq struct { Token string users.Preference }
type UpdateUserReq ¶
Click to show internal directories.
Click to hide internal directories.