Documentation
¶
Index ¶
Constants ¶
View Source
const SubscriptionChannelSize = 1024
SubscriptionChannelSize is the size of a subscription channel. If a channel is full new messages will be dropped and the client won't receive them.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
Nodes *models.NodeManager
Subs *pubsub.PubSub
}
Resolver is the root GraphQL resolver.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() gql.MutationResolver
Mutation returns the resolver for mutations.
func (*Resolver) Query ¶
func (r *Resolver) Query() gql.QueryResolver
Query returns the resolver for queries.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() gql.SubscriptionResolver
Subscription returns the resolver for subscriptions.
Click to show internal directories.
Click to hide internal directories.