Documentation
¶
Index ¶
- type Client
- func (c *Client) ConfIng(name string) (v *Value, err error)
- func (c *Client) Configs() (confs []*Value, ok bool)
- func (c *Client) Create(name, content, operator, mark string) (err error)
- func (c *Client) Event() <-chan string
- func (c *Client) Path() string
- func (c *Client) SetCustomize(value string)
- func (c *Client) Toml() (cf string, ok bool)
- func (c *Client) Toml2() (cf string, ok bool)
- func (c *Client) Update(ID int64, content, operator, mark string) (err error)
- func (c *Client) Value(key string) (cf string, ok bool)
- func (c *Client) Value2(key string) (cf string, ok bool)
- func (c *Client) Watch(filename ...string)
- func (c *Client) WatchAll()
- type Namespace
- type Value
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 config client.
func (*Client) SetCustomize ¶
SetCustomize set customize value.
Directories
¶
Path | Synopsis |
---|---|
Package dsn implements dsn parse with struct bind DSN 格式类似 URI, DSN 结构如下图 network:[//[username[:password]@]address[:port][,address[:port]]][/path][?query][#fragment] 与 URI 的主要区别在于 scheme 被替换为 network, host 被替换为 address 并且支持多个 address.
|
Package dsn implements dsn parse with struct bind DSN 格式类似 URI, DSN 结构如下图 network:[//[username[:password]@]address[:port][,address[:port]]][/path][?query][#fragment] 与 URI 的主要区别在于 scheme 被替换为 network, host 被替换为 address 并且支持多个 address. |
Package env get env & app config, all the public field must after init() finished and flag.Parse().
|
Package env get env & app config, all the public field must after init() finished and flag.Parse(). |
Click to show internal directories.
Click to hide internal directories.