Documentation ¶
Index ¶
- Variables
- func GraphQLEndpointHandler(opts EndpointOptions) http.Handler
- type EndpointOptions
- type Resolver
- func (r *Resolver) Employees(hobby model.Hobby) ([]*model.Employee, error)
- func (r *Resolver) Entity() generated.EntityResolver
- func (r *Resolver) Exercise() generated.ExerciseResolver
- func (r *Resolver) Flying() generated.FlyingResolver
- func (r *Resolver) Gaming() generated.GamingResolver
- func (r *Resolver) Other() generated.OtherResolver
- func (r *Resolver) Programming() generated.ProgrammingResolver
- func (r *Resolver) Subscription() generated.SubscriptionResolver
- func (r *Resolver) Travelling() generated.TravellingResolver
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) Exercise ¶
func (r *Resolver) Exercise() generated.ExerciseResolver
Exercise returns generated.ExerciseResolver implementation.
func (*Resolver) Flying ¶
func (r *Resolver) Flying() generated.FlyingResolver
Flying returns generated.FlyingResolver implementation.
func (*Resolver) Gaming ¶
func (r *Resolver) Gaming() generated.GamingResolver
Gaming returns generated.GamingResolver implementation.
func (*Resolver) Other ¶
func (r *Resolver) Other() generated.OtherResolver
Other returns generated.OtherResolver implementation.
func (*Resolver) Programming ¶
func (r *Resolver) Programming() generated.ProgrammingResolver
Programming returns generated.ProgrammingResolver implementation.
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() generated.SubscriptionResolver
Subscription returns generated.SubscriptionResolver implementation.
func (*Resolver) Travelling ¶
func (r *Resolver) Travelling() generated.TravellingResolver
Travelling returns generated.TravellingResolver implementation.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.