tacticalrmm/natsapi/types.go

17 lines
337 B
Go
Raw Normal View History

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"`
}