package
0.7.2
Repository: https://github.com/lucasbfernandes/go-client.git
Documentation: pkg.go.dev

# Functions

IfNotSet sets the value if the entry is not yet set.
New creates a new log primitive.
WithDefault sets the default value to return if the key is not present.
WithFilter returns a watch option that filters the watch events.
WithReplay returns a watch option that enables replay of watch events.

# Constants

EventAppended indicates an entry was appended to the log.
EventNone indicates the event is not a change event.
EventRemoved indicates an entry was removed from the log.
Type is the log type.

# Structs

Entry
Entry is an indexed key/value pair.
Event is a log change event.
Filter is a watch filter configuration.
NotSetOption is a SetOption that sets the value only if it's not already set.

# Interfaces

Client provides an API for creating IndexedMaps.
GetOption is an option for the Get method.
Log is a distributed log.
RemoveOption is an option for the Remove method.
SetOption is an option for the Append method.
WatchOption is an option for the Watch method.

# Type aliases

EventType is the type of a log event.
Index is the index of an entry.