Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphqlHandler ¶
func GraphqlHandler( mus userservice.UserService, ps postservice.PostService, redisClient *redis.Client, ) gin.HandlerFunc
GraphqlHandler defines the GQLGen GraphQL server handler
func PlaygroundHandler ¶
func PlaygroundHandler(path string) gin.HandlerFunc
PlaygroundHandler Defines the Playground handler to expose our playground
Types ¶
type Resolver ¶
type Resolver struct { UserService userservice.UserService PostService postservice.PostService // contains filtered or unexported fields }
Resolver struct
func (*Resolver) PostSchema ¶
func (r *Resolver) PostSchema() gen.PostSchemaResolver
PostSchema graphql
func (*Resolver) Subscription ¶
func (r *Resolver) Subscription() gen.SubscriptionResolver
Subscription graphql
Source Files ¶
Click to show internal directories.
Click to hide internal directories.