templates

package
v0.1.1-0...-af2b4d4 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: MIT Imports: 0 Imported by: 0

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

type HookDef

type HookDef struct {
	Name    string
	Imports []string
	Code    string
}

Jump to

Keyboard shortcuts

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