Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestOptions = EndpointOptions{ EnableDebug: false, }
Functions ¶
func GraphQLEndpointHandler ¶
func GraphQLEndpointHandler(opts EndpointOptions) http.Handler
Types ¶
type EndpointOptions ¶
type EndpointOptions struct {
EnableDebug bool
}
type Resolver ¶
type Resolver struct {
NatsPubSubByProviderID map[string]pubsub_datasource.NatsPubSub
}
func (*Resolver) Entity ¶
func (r *Resolver) Entity() generated.EntityResolver
Entity returns generated.EntityResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.
Click to show internal directories.
Click to hide internal directories.