Documentation ¶
Index ¶
- Variables
- type AppLoader
- type AppLoaderAppService
- type AuthzService
- type CollaboratorInvitationLoader
- type CollaboratorLoader
- type CollaboratorLoaderCollaboratorService
- type DomainLoader
- type DomainLoaderDomainService
- type UserLoader
- type UserLoaderAdminAPIService
- type UserLoaderAppService
- type UserLoaderCollaboratorService
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( NewUserLoader, NewAppLoader, NewDomainLoader, NewCollaboratorLoader, NewCollaboratorInvitationLoader, )
Functions ¶
This section is empty.
Types ¶
type AppLoader ¶
type AppLoader struct { *graphqlutil.DataLoader `wire:"-"` AppService AppLoaderAppService Authz AuthzService }
func NewAppLoader ¶
func NewAppLoader(appService AppLoaderAppService, authz AuthzService) *AppLoader
type AppLoaderAppService ¶
type AuthzService ¶
type CollaboratorInvitationLoader ¶
type CollaboratorInvitationLoader struct { *graphqlutil.DataLoader `wire:"-"` CollaboratorService CollaboratorLoaderCollaboratorService Authz AuthzService }
func NewCollaboratorInvitationLoader ¶
func NewCollaboratorInvitationLoader( collaboratorService CollaboratorLoaderCollaboratorService, authz AuthzService, ) *CollaboratorInvitationLoader
func (*CollaboratorInvitationLoader) LoadFunc ¶
func (l *CollaboratorInvitationLoader) LoadFunc(keys []interface{}) ([]interface{}, error)
type CollaboratorLoader ¶
type CollaboratorLoader struct { *graphqlutil.DataLoader `wire:"-"` CollaboratorService CollaboratorLoaderCollaboratorService Authz AuthzService }
func NewCollaboratorLoader ¶
func NewCollaboratorLoader( collaboratorService CollaboratorLoaderCollaboratorService, authz AuthzService, ) *CollaboratorLoader
func (*CollaboratorLoader) LoadFunc ¶
func (l *CollaboratorLoader) LoadFunc(keys []interface{}) ([]interface{}, error)
type CollaboratorLoaderCollaboratorService ¶
type CollaboratorLoaderCollaboratorService interface { GetManyCollaborators(ids []string) ([]*model.Collaborator, error) GetManyInvitations(ids []string) ([]*model.CollaboratorInvitation, error) }
type DomainLoader ¶
type DomainLoader struct { *graphqlutil.DataLoader `wire:"-"` DomainService DomainLoaderDomainService Authz AuthzService }
func NewDomainLoader ¶
func NewDomainLoader(domainService DomainLoaderDomainService, authz AuthzService) *DomainLoader
func (*DomainLoader) LoadFunc ¶
func (l *DomainLoader) LoadFunc(keys []interface{}) ([]interface{}, error)
type UserLoader ¶
type UserLoader struct { *graphqlutil.DataLoader `wire:"-"` AdminAPI UserLoaderAdminAPIService Apps UserLoaderAppService Collaborators UserLoaderCollaboratorService }
func NewUserLoader ¶
func NewUserLoader(adminAPI UserLoaderAdminAPIService, apps UserLoaderAppService, collaborators UserLoaderCollaboratorService) *UserLoader
func (*UserLoader) LoadFunc ¶
func (l *UserLoader) LoadFunc(keys []interface{}) ([]interface{}, error)
type UserLoaderAppService ¶
Click to show internal directories.
Click to hide internal directories.