17 lines
337 B
Go
17 lines
337 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"`
|
|
}
|