Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher interface {
Start()
Stop()
GetSplitData() SplitData
}
Fetcher is an interface contains GetSplitData, Start and Stop functions
type Poller ¶
type Poller struct {
Error chan error
// contains filtered or unexported fields
}
Poller implements Fetcher and contains cache pointer, splitio, and required info to interact with aplitio api
func NewPoller ¶
func NewPoller(splitioAPIKey string, pollingRateSeconds int, serializeSegments bool, splitio api.Splitio) *Poller
NewPoller returns a new Poller
func (*Poller) GetSplitData ¶
GetSplitData returns cache results of SplitData
Click to show internal directories.
Click to hide internal directories.