Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodedSnapToken ¶
type NoopEncodedToken ¶
type NoopEncodedToken struct {
Value string
}
func (NoopEncodedToken) Decode ¶
func (t NoopEncodedToken) Decode() (SnapToken, error)
Decode - Decodes the token from a string
func (NoopEncodedToken) String ¶
func (t NoopEncodedToken) String() string
Decode - Decodes the token from a string
type NoopToken ¶
type NoopToken struct {
Value string
}
func (NoopToken) Encode ¶
func (t NoopToken) Encode() EncodedSnapToken
Encode - encodes the token to a string
type SnapToken ¶
type SnapToken interface { // Encode encodes the token to a string. Encode() EncodedSnapToken // Eg snapshot is equal to given snapshot Eg(token SnapToken) bool // Gt snapshot is greater than given snapshot Gt(token SnapToken) bool // Lt snapshot is less than given snapshot Lt(token SnapToken) bool }
Click to show internal directories.
Click to hide internal directories.