hook

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ClearCacheCount = 10000

Variables

This section is empty.

Functions

This section is empty.

Types

type MCHookHandler

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

func NewMCHookHandler

func NewMCHookHandler(db *gorm.DB) *MCHookHandler

func (*MCHookHandler) InvokeHook

func (h *MCHookHandler) InvokeHook(req hooks.HookRequest) (res hooks.HookResponse, err error)

func (*MCHookHandler) Setup

func (h *MCHookHandler) Setup() error

Jump to

Keyboard shortcuts

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