Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForCloakCert ¶
CheckForCloakCert is a function to check if certificate file is present if not create one
Types ¶
type Config ¶
type Config struct { Cloakboard bool `json:"cloakboard"` Executors []Executor `json:"executors"` Connector DBConnector `json:"connector"` PickTime string `json:"pick_time"` }
Config is the global configuration struct for configuring the cloak server
type DBConnector ¶
type DBConnector struct { Stratergy Stratergy `json:"stratergy"` DBName string `json:"db"` Address string `json:"addr"` Username string `json:"user"` Password string `json:"pwd"` }
DBConnector is a connector definition
type ExecutorFile ¶
type ExecutorFile struct {
Tasks []Task `json:"tasks"`
}
ExecutorFile is executor file that has the tasks and it's CTF
Click to show internal directories.
Click to hide internal directories.