Documentation ¶
Index ¶
- func New() generated.Config
- func RemoveFromSlice(slice []string, element string) []string
- type ParsedContext
- type Resolver
- func (r *Resolver) Channel() generated.ChannelResolver
- func (r *Resolver) Instance() generated.InstanceResolver
- func (r *Resolver) Invite() generated.InviteResolver
- func (r *Resolver) Message() generated.MessageResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Notification() generated.NotificationResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) Subscription() generated.SubscriptionResolver
- func (r *Resolver) User() generated.UserResolver
- type StreamObserver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveFromSlice ¶
Types ¶
type ParsedContext ¶
type Resolver ¶
type Resolver struct { StreamObservers sync.Map MessageLog sync.Map ProfanityDetector *goaway.ProfanityDetector }
func (*Resolver) Channel ¶
func (r *Resolver) Channel() generated.ChannelResolver
Channel returns generated.ChannelResolver implementation.
func (*Resolver) Instance ¶
func (r *Resolver) Instance() generated.InstanceResolver
Instance returns generated.InstanceResolver implementation.
func (*Resolver) Invite ¶
func (r *Resolver) Invite() generated.InviteResolver
Invite returns generated.InviteResolver implementation.
func (*Resolver) Message ¶
func (r *Resolver) Message() generated.MessageResolver
Message returns generated.MessageResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Notification ¶
func (r *Resolver) Notification() generated.NotificationResolver
Notification returns generated.NotificationResolver 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.
func (*Resolver) User ¶
func (r *Resolver) User() generated.UserResolver
User returns generated.UserResolver implementation.
Click to show internal directories.
Click to hide internal directories.