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
Click to show internal directories.
Click to hide internal directories.