18 lines
370 B
Go
18 lines
370 B
Go
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"`
|
|
SSLMode string `json:"sslmode"`
|
|
}
|