Documentation ¶
Index ¶
- func AddCitizensToRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
- func CreateRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
- func GetCitizensRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
- func GetProfiles(ctx context.Context, endpoint endpoint.Endpoint, profilesIds []string) ([]*animo.Profile, error)
- func GetRealmsCitizensEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
- func MakeGetRealmsEndpoint(svc AliancoService) endpoint.Endpoint
- func RemoveCitizensFromRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
- func ResolveProfilesAliases(ctx context.Context, endpoint endpoint.Endpoint, profilesAliases []string) ([]string, error)
- func ResolveRealmsAliasesEndpointFactory(svc AliancoService) endpoint.Endpoint
- type AddCitizensToRealmsRequest
- type AddCitizensToRealmsResponse
- type AliancoService
- type Citizen
- type CitizensList
- type CreateRealmsRequest
- type CreateRealmsResponse
- type Endpoints
- type GetCitizensRealmsRequest
- type GetCitizensRealmsResponse
- type GetRealmsCitizensRequest
- type GetRealmsCitizensResponse
- type GetRealmsRequest
- type GetRealmsResponse
- type Realm
- type RealmsList
- type RemoveCitizensFromRealmsRequest
- type RemoveCitizensFromRealmsResponse
- type ResolveRealmsAliasesRequest
- type ResolveRealmsAliasesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCitizensToRealmsEndpointFactory ¶
func AddCitizensToRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
func CreateRealmsEndpointFactory ¶
func CreateRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
func GetCitizensRealmsEndpointFactory ¶
func GetCitizensRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
func GetProfiles ¶
func GetRealmsCitizensEndpointFactory ¶
func GetRealmsCitizensEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
func MakeGetRealmsEndpoint ¶
func MakeGetRealmsEndpoint(svc AliancoService) endpoint.Endpoint
func RemoveCitizensFromRealmsEndpointFactory ¶
func RemoveCitizensFromRealmsEndpointFactory(svc AliancoService, resolveProfilesAliasesEndpoint endpoint.Endpoint) endpoint.Endpoint
func ResolveProfilesAliases ¶
func ResolveRealmsAliasesEndpointFactory ¶
func ResolveRealmsAliasesEndpointFactory(svc AliancoService) endpoint.Endpoint
Types ¶
type AddCitizensToRealmsRequest ¶
type AddCitizensToRealmsResponse ¶
type AliancoService ¶
type AliancoService interface { ResolveRealmsAliases(context context.Context, realmsAliases []string) ([]*Realm, error) GetCitizensRealms(context context.Context, profilesIDs []string) ([][]*Realm, error) CreateRealms(context context.Context, profilesIDs []string, realms []*Realm) ([]*Realm, error) GetRealmsCitizens(context context.Context, realmsIDs []string) ([][]*Citizen, error) GetRealms(context context.Context, realmIDs []string, realms []*Realm) (int, error) AddCitizensToRealms(context context.Context, realmsIDs []string, profilesIDs [][]string) ([][]*Citizen, error) RemoveCitizensFromRealms(context context.Context, realmsIDs []string, profilesIDs [][]string) ([][]*Citizen, error) }
type Citizen ¶
type CreateRealmsRequest ¶
type CreateRealmsResponse ¶
type Endpoints ¶
type Endpoints struct { ResolveRealmsAliasesEndpoint endpoint.Endpoint GetCitizensRealmsEndpoint endpoint.Endpoint CreateRealmsEndpoint endpoint.Endpoint GetRealmsEndpoint endpoint.Endpoint GetRealmsCitizensEndpoint endpoint.Endpoint AddCitizensToRealmsEndpoint endpoint.Endpoint RemoveCitizensFromRealmsEndpoint endpoint.Endpoint }
type GetCitizensRealmsRequest ¶
type GetCitizensRealmsRequest struct {
ProfilesAliases []string `json:"profilesAliases"`
}
type GetCitizensRealmsResponse ¶
type GetCitizensRealmsResponse struct { CitizensRealms []*RealmsList `json:"citizensRealms"` Err string `json:"err,omitempty"` }
type GetRealmsCitizensRequest ¶
type GetRealmsCitizensRequest struct {
RealmsAliases []string `json:"realmsAliases"`
}
type GetRealmsCitizensResponse ¶
type GetRealmsCitizensResponse struct { RealmsCitizens []*CitizensList `json:"realmsCitizens"` Err string `json:"err,omitempty"` }
type GetRealmsResponse ¶
type Realm ¶
type RemoveCitizensFromRealmsRequest ¶
type RemoveCitizensFromRealmsResponse ¶
Click to show internal directories.
Click to hide internal directories.