Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v4.1.3
type Config struct { Host string `db:"host" bson:"host" comment:"主机名" json:"host" xml:"host"` Port int `db:"port" bson:"port" comment:"端口" json:"port" xml:"port"` Username string `db:"username" bson:"username" comment:"用户名" json:"username" xml:"username"` Password string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"` PrivateKey string `db:"private_key" bson:"private_key" comment:"私钥内容" json:"private_key" xml:"private_key"` Passphrase string `db:"passphrase" bson:"passphrase" comment:"私钥口令" json:"passphrase" xml:"passphrase"` }
Config 配置
Click to show internal directories.
Click to hide internal directories.