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 ¶
type FunctionLink struct {
// contains filtered or unexported fields
}
func NewFunctionLink ¶
func NewFunctionLink(fcs ...ExecFunction) *FunctionLink
func NewFunctionLinkErr ¶
func NewFunctionLinkErr(fces ...ExecFunctionError) *FunctionLink
func (*FunctionLink) Add ¶
func (f *FunctionLink) Add(fc ExecFunction) FunctionLinkInterface
func (*FunctionLink) AddE ¶
func (f *FunctionLink) AddE(fc ExecFunctionError) FunctionLinkInterface
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 }
Click to show internal directories.
Click to hide internal directories.