Documentation ¶
Index ¶
Constants ¶
View Source
const ( DiskStatusNormal = DiskStatus(iota + 1) DiskStatusBroken DiskStatusRepairing DiskStatusRepaired DiskStatusDropped DiskStatusDropping DiskStatusMax )
View Source
const ( ModeTest = "test" ModeDev = "dev" ModeProd = "prod" )
View Source
const ( ASC = "asc" DESC = "desc" )
View Source
const ( UserTypeRoot = 1 UserTypeAdmin = 2 UserTypeNormal = 3 )
View Source
const LoginUser = "login_user"
Variables ¶
View Source
var VolTypeMsgMap = map[VolType]string{ VolTypeStandard: "标准卷", VolTypeLowFrequency: "低频卷", }
Functions ¶
func GetGinMode ¶
Types ¶
type DiskStatus ¶
type DiskStatus int
type ReadOnlyOp ¶
type ReadOnlyOp int16
var ( NullParam ReadOnlyOp = 0 ReadOnly ReadOnlyOp = 1 WriteOnly ReadOnlyOp = 2 )
Click to show internal directories.
Click to hide internal directories.