Documentation ¶
Index ¶
- func TracerDatabaseIsEnable() bool
- type TracerGormHook
- func (*TracerGormHook) After(ctx context.Context, driverName string, parameters map[string]any) (context.Context, error)
- func (*TracerGormHook) Before(ctx context.Context, driverName string, parameters map[string]any) (context.Context, error)
- func (*TracerGormHook) Err(ctx context.Context, driverName string, err error, parameters map[string]any) error
- type TracerXormHook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TracerDatabaseIsEnable ¶
func TracerDatabaseIsEnable() bool
Types ¶
type TracerGormHook ¶
type TracerGormHook struct { }
type TracerXormHook ¶
type TracerXormHook struct { }
func (*TracerXormHook) AfterProcess ¶
func (*TracerXormHook) AfterProcess(c *contexts.ContextHook, driverName string) error
func (*TracerXormHook) BeforeProcess ¶
func (*TracerXormHook) BeforeProcess(c *contexts.ContextHook, driverName string) (context.Context, error)
Click to show internal directories.
Click to hide internal directories.