extconfig

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoAddress

type MongoAddress struct {
	Username   string `mapstructure:"username" json:"username"`
	Password   string `mapstructure:"password" json:"password"`
	Address    string `mapstructure:"address" json:"address"`
	Database   string `mapstructure:"database" json:"database"`
	ReplicaSet string `mapstructure:"replica-set" json:"replica-set"`
}

Mongo地址

type MySQLAddress

type MySQLAddress struct {
	Name     string `mapstructure:"name" json:"name"`
	Type     string `mapstructure:"type" json:"type"`
	Protocol string `mapstructure:"protocol" json:"protocol"`
	Address  string `mapstructure:"address" json:"address"`
	DB       string `mapstructure:"db" json:"db"`
	Username string `mapstructure:"username" json:"username"`
	Password string `mapstructure:"password" json:"password"`
}

MySQL地址

type RPCServiceAddress

type RPCServiceAddress struct {
	Hostname string `json:"hostname"`
	Port     uint16 `json:"port"`
}

RPC service address

type RedisAddress

type RedisAddress struct {
	Name     string `mapstructure:"name" json:"name"`
	Type     string `mapstructure:"type" json:"type"`
	Address  string `mapstructure:"address" json:"address"`
	DB       string `mapstructure:"db" json:"db"`
	Password string `mapstructure:"password" json:"password"`
}

Redis地址

Jump to

Keyboard shortcuts

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