resolver

package
v0.0.0-...-dd21589 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

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 GetResolverSingleton() (*Resolver, error)

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

Mutation returns generated.MutationResolver implementation.

func (*StandaloneResolver) Query

Query returns generated.QueryResolver implementation.

type StandaloneResolverIOCInterface

type StandaloneResolverIOCInterface interface {
	Mutation() generated.MutationResolver
	Query() generated.QueryResolver
}

func GetStandaloneResolverIOCInterfaceSingleton

func GetStandaloneResolverIOCInterfaceSingleton() (StandaloneResolverIOCInterface, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL