Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around the file client
func New ¶
New returns a new FileClient The filepath can be a local path to a file or a remote http/https location.
func (*Client) WatchPrefix ¶
func (c *Client) WatchPrefix(ctx context.Context, prefix string, opts ...easyKV.WatchOption) (uint64, error)
WatchPrefix watches the file for changes with fsnotify. Prefix, keys and waitIndex are only here to implement the StoreClient interface. WatchPrefix is only supported for local files. Remote files over http/https arent supported.
Click to show internal directories.
Click to hide internal directories.