interceptor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SharedLimiter

func SharedLimiter[Q interface{ Limit(int) }](f func(ent.Query) (Q, error), limit int) ent.Interceptor

func SoftDeleteInterceptor

func SoftDeleteInterceptor() ent.Interceptor

SoftDeleteInterceptor implements a soft delete interceptor

func TenantInterceptor

func TenantInterceptor() ent.Interceptor

TenantInterceptor 这是一个通用的租户拦截器

Types

This section is empty.

Jump to

Keyboard shortcuts

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