hooks

package
v0.0.0-...-0c576d6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HookHandlerFunc

type HookHandlerFunc func(event *handler.HookEvent, resp tusHooks.HookResponse) (tusHooks.HookResponse, error)

type PrebuiltHook

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

func (*PrebuiltHook) InvokeHook

func (ph *PrebuiltHook) InvokeHook(req tusHooks.HookRequest) (res tusHooks.HookResponse, err error)

func (*PrebuiltHook) Register

func (ph *PrebuiltHook) Register(t tusHooks.HookType, hookFuncs ...HookHandlerFunc)

func (*PrebuiltHook) Setup

func (ph *PrebuiltHook) Setup() error

Jump to

Keyboard shortcuts

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