Documentation
¶
Index ¶
- func Handler(db *xorm.Engine) gin.HandlerFunc
- func HasRole(ctx context.Context, obj interface{}, next gql.Resolver, role model.Role) (interface{}, error)
- func IsAuth(ctx context.Context, obj interface{}, next gql.Resolver) (interface{}, error)
- func IsNotAuth(ctx context.Context, obj interface{}, next gql.Resolver) (interface{}, error)
- func Playground(title, gqlPath string) gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Playground ¶
func Playground(title, gqlPath string) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.