Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Container = &DockerContainerConfig{}
View Source
var RabbitMQ = &RabbitMQConfig{}
View Source
var Volume = &VolumePathConfig{}
Functions ¶
func InitConfig ¶
func InitConfig()
Types ¶
type DockerContainerConfig ¶
func (DockerContainerConfig) GetImageName ¶
func (conf DockerContainerConfig) GetImageName() string
type RabbitMQConfig ¶
func (RabbitMQConfig) GetURL ¶
func (conf RabbitMQConfig) GetURL() string
type VolumePathConfig ¶
type VolumePathConfig struct { CodeHostPath string // 存放代码宿主机路径 CodeTargetPath string // 挂载到容器内的代码路径 CaseHostPath string // 存放测试样例文件(输入文件)宿主机路径 CaseTargetPath string // 挂载到容器内样例文件路径 AnswerHostPath string // 答案文件主机路径 }
func (*VolumePathConfig) GetCasePath ¶
func (volume *VolumePathConfig) GetCasePath() string
func (*VolumePathConfig) GetCodePath ¶
func (volume *VolumePathConfig) GetCodePath() string
Click to show internal directories.
Click to hide internal directories.