Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterImplementor ¶
func RegisterImplementor(cfg Configure)
RegisterImplementor registers the configuration service implementor.
Types ¶
type AddrParams ¶
func (AddrParams) Encode ¶
func (m AddrParams) Encode(sep string) string
type Address ¶
type Configure ¶
type Configure interface {
// Register the configuration pointer.
Register(component string, v interface{}) error
}
func Implementor ¶
func Implementor() Configure
Implementor returns the configuration service implementor.
type Schema ¶
type Schema string
const ( SQLite Schema = "sqlite" MySQL Schema = "mysql" PostgreSQL Schema = "postgres" SQLServer Schema = "sqlserver" Clickhouse Schema = "clickhouse" Redis Schema = "redis" RedisCluster Schema = "rediscluster" ElasticSearch6 Schema = "elasticsearch6" ElasticSearch7 Schema = "elasticsearch7" Kafka Schema = "kafka" Pulsar Schema = "pulsar" Pulsars Schema = "pulsar+ssl" RocketMQ Schema = "rocketmq" )
Click to show internal directories.
Click to hide internal directories.