handler

package
v0.0.0-...-af7f365 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIdentityIdChecker

func GetIdentityIdChecker() func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)

func GetRoleChecker

func GetRoleChecker() func(ctx context.Context, obj interface{}, next graphql.Resolver, roles []model.Role) (res interface{}, err error)

func GetTenantChecker

func GetTenantChecker() func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)

func TracingEnhancer

func TracingEnhancer(ctx context.Context, endpoint string) func(c *gin.Context)

Types

type AdminApiHandler

type AdminApiHandler struct {
	// contains filtered or unexported fields
}

func NewAdminApiHandler

func NewAdminApiHandler(config *config.Config, commonServices *commonService.Services) *AdminApiHandler

func (*AdminApiHandler) GetAdminApiHandlerEnhancer

func (aah *AdminApiHandler) GetAdminApiHandlerEnhancer() func(c *gin.Context)

Jump to

Keyboard shortcuts

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