conf_center

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Local = "local"
	Nacos = "nacos"
	Http  = "http"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigCenter

type ConfigCenter interface {
	HandleConfig(func([]byte)) error
}

type ConfigCenterConfig

type ConfigCenterConfig struct {
	ConfigType string
	Watch      bool
	Nacos      *v2.Nacos
	Local      *local.Local
	Http       *http.Config
}

func (*ConfigCenterConfig) ConfigCenter

func (c *ConfigCenterConfig) ConfigCenter(model string, debug bool) ConfigCenter

Directories

Path Synopsis
nacos
v1
v2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL