Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphQLHandler ¶
func GraphQLHandler(us userservice.UserService, as authservice.AuthService, es emailservice.EmailService) gin.HandlerFunc
This defines all the Gqlgen graphql server handlers
func PlaygroundHandler ¶
func PlaygroundHandler(path string) gin.HandlerFunc
PlaygroundHandler defined the playground handler to expose
Types ¶
type Resolver ¶
type Resolver struct { AuthService authservice.AuthService UserService userservice.UserService EmailService emailservice.EmailService }
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() gen.MutationResolver
Mutation returns gen.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() gen.QueryResolver
Query returns gen.QueryResolver implementation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.