Versions in this module Expand all Collapse all v1 v1.0.0 Jan 2, 2024 Changes in this version + type ChangeListener struct + func (l *ChangeListener) OnChange(event *storage.ChangeEvent) + func (l *ChangeListener) OnNewestChange(event *storage.FullChangeEvent) + type Client struct + func CreateClient(conf *Config) (*Client, error) + func DefaultClient() *Client + func InitDefaultClient(conf *Config) (*Client, error) + func (c *Client) Get(namespace, key string) (string, error) + func (c *Client) Load(namespace, key string, loader loader.Loader) error + func (c *Client) Watch(namespace, key string, loader loader.Loader, immediately bool) error + type Config struct + Addr string + AppID string + Cluster string + NameSpace []string + Secret string