Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct { Database struct { Type string `yaml:"type" json:"type" validate:"nonzero"` URL string `yaml:"url" json:"url" validate:"nonzero"` MaxConns int `yaml:"maxConns" json:"maxConns" default:20` MaxIdleConns int `yaml:"maxIdleConns" json:"maxIdleConns" default:5` ConnMaxLifetime int `yaml:"connMaxLifetime" json:"connMaxLifetime" default:150` } `yaml:"database" json:"database" default:"{}"` }
CloudConfig baetyl-cloud config
Source Files ¶
Click to show internal directories.
Click to hide internal directories.