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 wraps an Olric cluster client for distributed cache operations
func (*Client) UnderlyingClient ¶ added in v0.90.0
UnderlyingClient returns the underlying olriclib.Client for advanced usage. This is useful when you need to pass the client to other packages that expect the raw olric client interface.
type Config ¶
type Config struct {
// Servers is a list of Olric server addresses (e.g., ["localhost:3320"])
// If empty, defaults to ["localhost:3320"]
Servers []string
// Timeout is the timeout for client operations
// If zero, defaults to 10 seconds
Timeout time.Duration
}
Config holds configuration for the Olric client
Click to show internal directories.
Click to hide internal directories.