handler

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Sections []*sections.Section
	Mapping  *hooks.Map
	AfterAll hooks.HookFunc
}

func (*Handler) DefaultSection

func (h *Handler) DefaultSection(_name, _description string) *sections.Section

func (*Handler) Proceed

func (h *Handler) Proceed()

func (*Handler) Section

func (h *Handler) Section(_name, _description string, _before, _after hooks.HookFunc) *sections.Section

func (*Handler) SetAfterAll

func (h *Handler) SetAfterAll(_hook hooks.HookFunc)

Jump to

Keyboard shortcuts

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