Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache contains raw split data as well as the data in serialized format
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) GetSerializedData ¶
GetSerializedData returns serialized data cache results
Click to show internal directories.
Click to hide internal directories.