Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { Database() *database.Database Cluster() cluster.Cluster Events() events.PubSub }
Backend is implemented by services that provide a backend for the GraphQL resolver implementation. This is primarily done to avoid circular dependencies.
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is the GraphQL resolver dependency injection point.
func (*Resolver) Metadata ¶
func (r *Resolver) Metadata() server.MetadataResolver
Metadata returns server.MetadataResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() server.MutationResolver
Mutation returns server.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() server.QueryResolver
Query returns server.QueryResolver implementation.
func (*Resolver) User ¶
func (r *Resolver) User() server.UserResolver
User returns server.UserResolver implementation.
Click to show internal directories.
Click to hide internal directories.