mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 12:37:46 +00:00
14 lines
571 B
Go
14 lines
571 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 them
|
|
* in this file or in separate files in the hooks package.
|
|
*/
|
|
|
|
func initHooks(h *Hooks) {
|
|
// Add hooks by calling h.register{ClientInit/BeforeRequest/AfterRequest/AfterError}Hook
|
|
// with an instance of a hook that implements that specific Hook interface
|
|
// Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
|
|
}
|