Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options interface { // SetInstrumentOptions sets the instrument options. SetInstrumentOptions(value instrument.Options) Options // InstrumentOptions returns the instrument options. InstrumentOptions() instrument.Options // SetInitWatchTimeout sets the initial watch timeout. SetInitWatchTimeout(value time.Duration) Options // InitWatchTimeout returns the initial watch timeout. InitWatchTimeout() time.Duration // SetKVStore sets the kv store. SetKVStore(value kv.Store) Options // KVStore returns the kv store. KVStore() kv.Store // SetUnmarshalFn sets the unmarshal function. SetUnmarshalFn(value UnmarshalFn) Options // UnmarshalFn returns the unmarshal function. UnmarshalFn() UnmarshalFn // SetProcessFn sets the process function. SetProcessFn(value ProcessFn) Options // ProcessFn returns the process function. ProcessFn() ProcessFn }
Options provide a set of value options.
type UnmarshalFn ¶
UnmarshalFn unmarshals a kv value and extracts its payload.
Click to show internal directories.
Click to hide internal directories.