Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
NewService returns a cache.
func NewServiceWithConfigPath ¶
NewServiceWithConfigPath returns a cache with options from config path .
Types ¶
type Options ¶
type Options struct {
Address string
}
Options represents cache options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.