Documentation
¶
Index ¶
- func MakeCreateProfileFromIdentityEndpoint(svc AnimoService) endpoint.Endpoint
- func MakeGetProfilesEndpoint(svc AnimoService) endpoint.Endpoint
- func MakeInternalGetProfilesEndpoint(svc AnimoService) endpoint.Endpoint
- func MakeResolveProfilesAliasesEndpoint(svc AnimoService) endpoint.Endpoint
- func MakeSearchProfilesEndpoint(svc AnimoService) endpoint.Endpoint
- func MakeUpdateProfilesEndpoint(svc AnimoService) endpoint.Endpoint
- type AnimoService
- type CreateProfileFromIdentityRequest
- type CreateProfileFromIdentityResponse
- type Endpoints
- type GetProfilesRequest
- type GetProfilesResponse
- type InternalGetProfilesRequest
- type InternalGetProfilesResponse
- type Profile
- type ResolveProfilesAliasesRequest
- type ResolveProfilesAliasesResponse
- type SearchProfilesRequest
- type SearchProfilesResponse
- type UpdateProfilesRequest
- type UpdateProfilesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCreateProfileFromIdentityEndpoint ¶
func MakeCreateProfileFromIdentityEndpoint(svc AnimoService) endpoint.Endpoint
func MakeGetProfilesEndpoint ¶
func MakeGetProfilesEndpoint(svc AnimoService) endpoint.Endpoint
func MakeInternalGetProfilesEndpoint ¶
func MakeInternalGetProfilesEndpoint(svc AnimoService) endpoint.Endpoint
func MakeResolveProfilesAliasesEndpoint ¶
func MakeResolveProfilesAliasesEndpoint(svc AnimoService) endpoint.Endpoint
func MakeSearchProfilesEndpoint ¶
func MakeSearchProfilesEndpoint(svc AnimoService) endpoint.Endpoint
func MakeUpdateProfilesEndpoint ¶
func MakeUpdateProfilesEndpoint(svc AnimoService) endpoint.Endpoint
Types ¶
type AnimoService ¶
type AnimoService interface { CreateProfileFromIdentity(ctx context.Context, identity string, email string) (*Profile, error) ResolveProfilesAliases(context context.Context, profilesAliases []string) ([]string, error) GetProfiles(context context.Context, profilesIds []string) ([]*Profile, error) SearchProfiles(context context.Context, filter string) ([]*Profile, error) UpdateProfiles(context context.Context, profilesIds []string, profiles []*Profile) ([]*Profile, error) }
type CreateProfileFromIdentityRequest ¶
type CreateProfileFromIdentityResponse ¶
type CreateProfileFromIdentityResponse struct { CreateProfileFromIdentityRequest Err string `json:"err,omitempty"` }
type Endpoints ¶
type GetProfilesRequest ¶
type GetProfilesRequest struct {
ProfilesAliases []string `json:"profilesAliases"`
}
type GetProfilesResponse ¶
type InternalGetProfilesRequest ¶
type InternalGetProfilesRequest struct {
ProfilesIds []string `json:"profilesIds"`
}
type InternalGetProfilesResponse ¶
type Profile ¶
type ResolveProfilesAliasesRequest ¶
type ResolveProfilesAliasesRequest struct {
ProfilesAliases []string `json:"profilesAliases"`
}
type ResolveProfilesAliasesResponse ¶
type SearchProfilesResponse ¶
type UpdateProfilesRequest ¶
Click to show internal directories.
Click to hide internal directories.