graphql

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultUserRole = "user"

Variables

This section is empty.

Functions

func AuthGuard

func AuthGuard(
	ctx context.Context,
	_ any,
	next graphql.Resolver,
	allowedRoles []string,
) (res any, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL