Documentation ¶
Overview ¶
Package execute abstracts methods, providing a standardised way to trigger methods and provide values
Index ¶
Constants ¶
View Source
const CombinedType = "combined"
CombinedType is the type of the CombinedExecute; designed to link together multiple executers and to provide a simplified single entry point
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedExecute ¶
type CombinedExecute struct {
Executers []Executer
}
CombinedExecute is an executer that contains subexecuters that it will forward method requests to; designed to link together multiple executers and to provide a simplified single entry point
func (*CombinedExecute) ExecuteWithValue ¶
ExecuteWithValue takes in a method and a value to pass, it will look at the stored sub executers and decide which executer to use for the method provided
func (*CombinedExecute) GetType ¶
func (e *CombinedExecute) GetType() string
GetType returns the CombinedExecute type
Click to show internal directories.
Click to hide internal directories.