mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-09-03 16:18:04 -05:00
18 lines
539 B
Go
18 lines
539 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
type BuildStatus struct {
|
|
DB DB `json:"db, omitempty"`
|
|
}
|
|
type DB struct {
|
|
IP string `json:"ip, omitempty"`
|
|
Port string `json:"port, omitempty"`
|
|
Name string `json:"name, omitempty"`
|
|
Username string `json:"username, omitempty"`
|
|
Password string `json:"password, omitempty"`
|
|
Active int `json:"active, omitempty"`
|
|
Idle int `json:"idle, omitempty"`
|
|
IdleTimeout time.Duration `json:"idleTimeout, omitempty"`
|
|
}
|