2021-11-13 00:45:28 +00:00
|
|
|
package api
|
|
|
|
|
|
|
|
type Agent struct {
|
|
|
|
ID int `db:"id"`
|
|
|
|
AgentID string `db:"agent_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type DjangoConfig struct {
|
|
|
|
Key string `json:"key"`
|
|
|
|
NatsURL string `json:"natsurl"`
|
|
|
|
User string `json:"user"`
|
|
|
|
Pass string `json:"pass"`
|
|
|
|
Host string `json:"host"`
|
|
|
|
Port int `json:"port"`
|
|
|
|
DBName string `json:"dbname"`
|
2022-04-05 21:14:22 +00:00
|
|
|
SSLMode string `json:"sslmode"`
|
2021-11-13 00:45:28 +00:00
|
|
|
}
|