mctl/model/data.go

17 lines
380 B
Go
Raw Normal View History

package model
//list of all fields kept in config file
// var ConfigFields = [6]string{"customcmd", "device", "nonce", "port", "server", "password"}
type Command struct {
Name string `db:"name"`
Command string `db:"command"`
}
type Server struct {
Name string `db:"name"`
Server string `db:"server"`
Password string `db:"password"`
Port int `db:"port"`
}