mctl/model/data.go
jake 77bb3166c4 starting sqlite rewrite
- adding db connector
- starting rewrite of commands
- WIP
2025-06-16 19:17:52 -04:00

17 lines
380 B
Go

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