reexec

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, executor Executor)

func Startup

func Startup() bool

Types

type Executor

type Executor func()

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func New

func New() *Registry

func (*Registry) Exec

func (r *Registry) Exec(name string) bool

func (*Registry) Register

func (r *Registry) Register(name string, executor Executor) error

func (*Registry) Startup

func (r *Registry) Startup() bool

Jump to

Keyboard shortcuts

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