Documentation
¶
Index ¶
Constants ¶
View Source
const ( Int64 int64 = 0 Uint32 uint32 = 0 DevMode = "dev" )
Used for type cloning conversion
View Source
const TempOrderCacheKey = "temp_order:%s"
TempOrderCacheKey Cache to Redis Key eg: temp_order:order_no
Variables ¶
View Source
var ( Version = "unknown version" BuildTime = "unknown time" )
Version PPanel version
Functions ¶
This section is empty.
Types ¶
type TemporaryOrderInfo ¶
type TemporaryOrderInfo struct {
OrderNo string `json:"order_no"`
Identifier string `json:"identifier"`
AuthType string `json:"auth_type"`
Password string `json:"password"`
InviteCode string `json:"invite_code,omitempty"`
}
func (TemporaryOrderInfo) Marshal ¶
func (t TemporaryOrderInfo) Marshal() string
type VerifyType ¶
type VerifyType uint8
VerifyType is the type of verification code
const ( Register VerifyType = iota + 1 Security )
func ParseVerifyType ¶
func ParseVerifyType(i uint8) VerifyType
func (VerifyType) String ¶
func (v VerifyType) String() string
Click to show internal directories.
Click to hide internal directories.