Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxRetryTimes 最大重试次数 MaxRetryTimes int = 10 // DefaultRetryTimes 默认重试次数 DefaultRetryTimes int = 3 )
View Source
const ( // TagPackageWindows 用于Windows打包 TagPackageWindows string = "package-windows" // TagPackageMac 用于Mac打包 TagPackageMac string = "package-mac" // TagPackageAndroid 用于Android打包 TagPackageAndroid string = "package-android" // TagPackageIOS 用于iOS打包 TagPackageIOS string = "package-ios" // TagNotify 用于通知 TagNotify string = "notify" )
View Source
const ( // ApiNotifyCreate 创建通知 ApiNotifyCreate string = "notifies" )
View Source
const ( // ErrorCodeValidate 数据验证错误 ErrorCodeValidate gox.ErrorCode = 401 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiVersion ¶
type ApiVersion string
ApiVersion API版本
const ( // ApiVersionDefault 默认版本 ApiVersionDefault ApiVersion = "default" // ApiVersionV1 V1版本 ApiVersionV1 ApiVersion = "v1" // ApiVersionV2 V2版本 ApiVersionV2 ApiVersion = "v2" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.