mirror of
https://github.com/hanzo-fi/webhooks.git
synced 2026-10-30 20:32:55 +00:00
19 lines
619 B
Go
19 lines
619 B
Go
package hooks
|
|
|
|
/*
|
|
* This file is only ever generated once on the first generation and then is free to be modified.
|
|
* Any hooks you wish to add should be registered in the initHooks function. Feel free to define
|
|
* your hooks in this file or in separate files in the hooks package.
|
|
*
|
|
* Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance.
|
|
*/
|
|
|
|
func initHooks(h *Hooks) {
|
|
// exampleHook := &ExampleHook{}
|
|
|
|
// h.registerSDKInitHook(exampleHook)
|
|
// h.registerBeforeRequestHook(exampleHook)
|
|
// h.registerAfterErrorHook(exampleHook)
|
|
// h.registerAfterSuccessHook(exampleHook)
|
|
}
|