Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct { UserService user.UserServiceImplIOCInterface `singleton:""` UserQueryService userQuery.UserServiceImplIOCInterface `singleton:""` }
+ioc:autowire=true +ioc:autowire:type=singleton
func GetResolverSingleton ¶
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
type ResolverIOCInterface ¶
type ResolverIOCInterface interface { Mutation() generated.MutationResolver Query() generated.QueryResolver }
func GetResolverIOCInterfaceSingleton ¶
func GetResolverIOCInterfaceSingleton() (ResolverIOCInterface, error)
type StandaloneResolver ¶
type StandaloneResolver struct { UserService user.UserServiceStandaloneImplIOCInterface `singleton:""` UserQueryService userQuery.UserServiceStandaloneImplIOCInterface `singleton:""` }
+ioc:autowire=true +ioc:autowire:type=singleton
func GetStandaloneResolverSingleton ¶
func GetStandaloneResolverSingleton() (*StandaloneResolver, error)
func (*StandaloneResolver) Mutation ¶
func (r *StandaloneResolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*StandaloneResolver) Query ¶
func (r *StandaloneResolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
type StandaloneResolverIOCInterface ¶
type StandaloneResolverIOCInterface interface { Mutation() generated.MutationResolver Query() generated.QueryResolver }
func GetStandaloneResolverIOCInterfaceSingleton ¶
func GetStandaloneResolverIOCInterfaceSingleton() (StandaloneResolverIOCInterface, error)
Click to show internal directories.
Click to hide internal directories.