consul

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() eosc.IExtenderDriverFactory

NewFactory 创建consul驱动工厂

func Register

func Register(register eosc.IExtenderDriverRegister)

Register 注册consul驱动工厂

Types

type AccessConfig

type AccessConfig struct {
	Address []string          `json:"address" label:"consul地址"`
	Params  map[string]string `json:"params" label:"参数"`
}

AccessConfig 接入地址配置

type Config

type Config struct {
	Config AccessConfig `json:"config" label:"配置信息"`
}

Config consul驱动配置

Jump to

Keyboard shortcuts

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