nacos viper remote provider
This commit is contained in:
8
viper_manager.go
Normal file
8
viper_manager.go
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user