Documentation ¶
Index ¶
- func Configure() error
- func CreateConfigDir() error
- func CreateDefaultConfig() error
- func GetConfigFilePath() string
- func GetConfigFolderPath() string
- func GetFullOnlineJudgeName(OJ string) string
- func GetHost(OJ string) string
- func IsConfigDirExist() bool
- func IsConfigExist() bool
- func SaveConfig(cfg Configuration) error
- func SetContest(contestId string) error
- func SetOnlineJudge(OJ string) error
- type Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigDir ¶
func CreateConfigDir() error
func CreateDefaultConfig ¶
func CreateDefaultConfig() error
func GetConfigFilePath ¶
func GetConfigFilePath() string
func GetConfigFolderPath ¶
func GetConfigFolderPath() string
func GetFullOnlineJudgeName ¶
func IsConfigDirExist ¶
func IsConfigDirExist() bool
func IsConfigExist ¶
func IsConfigExist() bool
func SaveConfig ¶
func SaveConfig(cfg Configuration) error
func SetContest ¶
func SetOnlineJudge ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.