nacos-viper-remote/viper_manager.go

9 lines
196 B
Go
Raw Permalink Normal View History

2021-04-29 19:54:59 +08:00
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
}