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 ¶
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地址
Click to show internal directories.
Click to hide internal directories.