generated from datumforge/go-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
subs.resolvers.go
25 lines (19 loc) · 956 Bytes
/
subs.resolvers.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package graphapi
// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.
// Code generated by github.com/99designs/gqlgen
import (
"context"
"fmt"
)
// PostMessageTo is the resolver for the postMessageTo field.
func (r *mutationResolver) PostMessageTo(ctx context.Context, subscriber string, content string) (string, error) {
panic(fmt.Errorf("not implemented: PostMessageTo - postMessageTo"))
}
// Subscribe is the resolver for the subscribe field.
func (r *subscriptionResolver) Subscribe(ctx context.Context, subscriber string) (<-chan string, error) {
panic(fmt.Errorf("not implemented: Subscribe - subscribe"))
}
// Subscription returns SubscriptionResolver implementation.
func (r *Resolver) Subscription() SubscriptionResolver { return &subscriptionResolver{r} }
type subscriptionResolver struct{ *Resolver }