Documentation ¶
Overview ¶
Package factory is responsible for returning a concrete implemenation of a generic broker interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStrategy ¶
func CreateStrategy(s StrategyType) generic.Strategy
CreateStrategy returns a concrete instance of generic.Broker interface, based on the StrategyType
Types ¶
type StrategyType ¶
type StrategyType int
StrategyType is an enumeration of available brokers
const ( Reference StrategyType = iota Count // not a strategy, used to initiate an array of strategies )
This is a list of all the available strategies
Click to show internal directories.
Click to hide internal directories.