hookgen

package
v0.0.0-...-553e66b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHooks

func AddHooks(add func(name, params, ret, htype string, multiHook, skip bool, defaultRet, pure string))

func Write

func Write(hookVars HookVars)

Types

type Hook

type Hook struct {
	Name       string
	Params     string
	Params2    string
	Ret        string
	Type       string
	Any        bool
	MultiHook  bool
	Skip       bool
	DefaultRet string
	Pure       string
}

type HookVars

type HookVars struct {
	Imports []string
	Hooks   []Hook
}

Jump to

Keyboard shortcuts

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