Documentation ¶
Index ¶
Constants ¶
View Source
const HandlerMethods = `` /* 474-byte string literal not displayed */
View Source
const Handlers = `` /* 781-byte string literal not displayed */
View Source
const HookHead = `` /* 183-byte string literal not displayed */
View Source
const HookInt = `` /* 634-byte string literal not displayed */
View Source
const HookReport = `` /* 453-byte string literal not displayed */
View Source
const HookUnmarsh = `` /* 192-byte string literal not displayed */
View Source
const Middlewares = `` /* 1406-byte string literal not displayed */
Variables ¶
View Source
var Hooks []*HookDef = []*HookDef{ &HookDef{ Name: "InterruptHandler", Imports: []string{"fmt", "os", "os/signal", "syscall"}, Code: HookInt, }, &HookDef{ Name: "Report", Imports: []string{"encoding/json", "fmt", "os"}, Code: HookReport, }, &HookDef{ Name: "UnmarshalArg", Imports: []string{"bytes", "encoding/json", "github.com/pkg/errors"}, Code: HookUnmarsh, }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.