Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeaseIDStorage ¶
func NewLeaseIDStorage ¶
func NewLeaseIDStorage() LeaseIDStorage
type Provider ¶
type Provider interface { // NewStreamID returns an integer starting from zero to make it render nicely by porcupine visualization. NewStreamID() int // NewRequestID returns unique identification used to make write requests unique. NewRequestID() int // NewClientID returns unique identification for client and their reports. NewClientID() int }
func NewIDProvider ¶
func NewIDProvider() Provider
Click to show internal directories.
Click to hide internal directories.