const.go 470 Bytes
Newer Older
duanjinfei's avatar
duanjinfei committed
1 2 3
package models

const (
4 5 6 7 8 9 10 11 12
	TaskType              = "taskType"
	ContainerSign         = "container"
	MinerSign             = "miner"
	ReqHash               = "reqHash"
	RespHash              = "respHash"
	ResultFileExpiresDB   = "expires"
	ContentType           = "type"
	RedirectCode          = 303
	UseFileCache          = "USE-FILE-CACHE"
duanjinfei's avatar
duanjinfei committed
13 14
	Prefer                = "Prefer"
	Async                 = "respond-async"
15 16
	ModelPublishStatusYes = 1
	ModelPublishStatusNo  = 2
duanjinfei's avatar
duanjinfei committed
17
)