Documentation ¶
Index ¶
- Variables
- func GraphQLEndpointHandler(opts EndpointOptions) http.Handler
- type EndpointOptions
- type Resolver
- func (r *Resolver) Employee() generated.EmployeeResolver
- func (r *Resolver) Employees(ctx context.Context, obj model.RoleType) ([]*model.Employee, error)
- func (r *Resolver) Engineer() generated.EngineerResolver
- func (r *Resolver) Entity() generated.EntityResolver
- func (r *Resolver) ErrorWrapper() generated.ErrorWrapperResolver
- func (r *Resolver) Marketer() generated.MarketerResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Operator() generated.OperatorResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) Subscription() generated.SubscriptionResolver
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 // contains filtered or unexported fields }
func (*Resolver) Employee ¶
func (r *Resolver) Employee() generated.EmployeeResolver
Employee returns generated.EmployeeResolver implementation.
func (*Resolver) Engineer ¶
func (r *Resolver) Engineer() generated.EngineerResolver
Engineer returns generated.EngineerResolver implementation.
func (*Resolver) Entity ¶
func (r *Resolver) Entity() generated.EntityResolver
Entity returns generated.EntityResolver implementation.
func (*Resolver) ErrorWrapper ¶
func (r *Resolver) ErrorWrapper() generated.ErrorWrapperResolver
ErrorWrapper returns generated.ErrorWrapperResolver implementation.
func (*Resolver) Marketer ¶
func (r *Resolver) Marketer() generated.MarketerResolver
Marketer returns generated.MarketerResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Operator ¶
func (r *Resolver) Operator() generated.OperatorResolver
Operator returns generated.OperatorResolver 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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.