interceptors

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package interceptors is middleware to alter the graphql query

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInternalServerError is returned when an internal error occurs.
	ErrInternalServerError = errors.New("internal server error")
)

Functions

func InterceptorGroup

func InterceptorGroup() ent.Interceptor

InterceptorGroup is middleware to change the Group query

func InterceptorOrganization

func InterceptorOrganization() ent.Interceptor

InterceptorOrganization is middleware to change the Organization query

func QueryLogger

func QueryLogger(l *zap.SugaredLogger) ent.InterceptFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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