Documentation
¶
Overview ¶
Package remote @Title viper的远程配置 @Description 用于读取远程配置 @Author yr 2024/12/2 @Update yr 2024/12/2
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { viper.RemoteProvider Endpoints []string Username string Password string // contains filtered or unexported fields }
func (*Config) WatchChannel ¶
func (c *Config) WatchChannel(rp viper.RemoteProvider) (<-chan *viper.RemoteResponse, chan bool)
Click to show internal directories.
Click to hide internal directories.