function

package
v0.0.0-...-33cbb82 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecFunction

type ExecFunction func()

type ExecFunctionError

type ExecFunctionError func() error
type FunctionLink struct {
	// contains filtered or unexported fields
}
func NewFunctionLink(fcs ...ExecFunction) *FunctionLink

func NewFunctionLinkErr

func NewFunctionLinkErr(fces ...ExecFunctionError) *FunctionLink

func (*FunctionLink) Add

func (*FunctionLink) AddE

func (*FunctionLink) Do

func (f *FunctionLink) Do()

func (*FunctionLink) DoErr

func (f *FunctionLink) DoErr() error

type FunctionLinkInterface

type FunctionLinkInterface interface {
	Add(fc ExecFunction) FunctionLinkInterface
	AddE(fc ExecFunctionError) FunctionLinkInterface
	Do() // ignore error
	DoErr() error
}

Jump to

Keyboard shortcuts

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