9 lines
196 B
Go
9 lines
196 B
Go
|
package nacos_viper_remote
|
||
|
|
||
|
import "github.com/spf13/viper"
|
||
|
|
||
|
type viperConfigManager interface {
|
||
|
Get(key string) ([]byte, error)
|
||
|
Watch(key string, stop chan bool) <-chan *viper.RemoteResponse
|
||
|
}
|