Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultQuery ¶
func DefaultQuery(allowStale bool) *api.QueryOptions
func DefaultWriteOptions ¶ added in v0.24.0
func DefaultWriteOptions() *api.WriteOptions
func NewDatacenterClient ¶
NewDatacenterClient ...
func QueryChanged ¶
func QueryChanged(q *api.QueryOptions, meta *api.QueryMeta) bool
QueryChanged will return wether the query changed, comparing the WaitIndex vs LastIndex If the query has changed, the QueryMeta is updated with the new WaitIndex value of LastIndex, in preparation for the new usage in the long polling API
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.