Documentation
¶
Index ¶
Constants ¶
View Source
const ( UnExecuted = iota + 1 Executing Completed ExecutionFailed Canceled )
View Source
const (
Agent = "算力" //运行中
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecuteState ¶
type ExecuteState int32
type OrderSymbol ¶
type OrderSymbol string
const ( Recharge OrderSymbol = "+" Consumption OrderSymbol = "-" )
type PayOrderState ¶
type PayOrderState string
const ( WaitBuyerPay PayOrderState = "WAIT_BUYER_PAY" TradeClosed PayOrderState = "TRADE_CLOSED" TradeSuccess PayOrderState = "TRADE_SUCCESS" TradeFinished PayOrderState = "TRADE_FINISHED" )
type PaymentMethod ¶
type PaymentMethod int32
const ( Alipay PaymentMethod = iota + 1 Wechat BankCard RedemptionCode )
type ProviderType ¶
type ProviderType int
type RenewalResourceType ¶
type RenewalResourceType int
RenewalResourceType 续费资源类型
const ( // RenewalResourceType_Resource 资源 RenewalResourceType_Resource RenewalResourceType = iota // RenewalResourceType_Storage 存储 RenewalResourceType_Storage )
type RenewalState ¶
type RenewalState int
RenewalState 续费状态
const ( // RenewalState_IN_SERVICE 服务中 RenewalState_IN_SERVICE RenewalState = iota // RenewalState_STOP 已停止 RenewalState_STOP )
type S3UserType ¶
type S3UserType int8
const ( PlatformCreation S3UserType = iota + 1 UserCreation )
type StorageProviderStatus ¶
type StorageProviderStatus int
const ( StorageProviderStatus_NOT_RUN StorageProviderStatus = iota // 未运行 StorageProviderStatus_SETUPING // 启动中 StorageProviderStatus_SETUP_FAIL //启动失败 StorageProviderStatus_RUNNING //运行中 )
Click to show internal directories.
Click to hide internal directories.