Documentation ¶
Index ¶
- func HandleActivateKey(_context *gin.Context)
- func HandleCreateApp(_context *gin.Context)
- func HandleFetchLicense(_context *gin.Context)
- func HandleGenerateKey(_context *gin.Context)
- func HandleListApp(_context *gin.Context)
- func HandleListKey(_context *gin.Context)
- func HandleModifyAppProfile(_context *gin.Context)
- func HandleModifyAppSecurity(_context *gin.Context)
- func HandleModifyKeyProfile(_context *gin.Context)
- func HandleModifyKeyStatus(_context *gin.Context)
- func HandleQueryApp(_context *gin.Context)
- func HandleQueryKey(_context *gin.Context)
- func HandleVerifyLicense(_context *gin.Context)
- type ActivateKeyRequest
- type CreateAppRequest
- type FetchLicenseRequest
- type GenerateKeyRequest
- type ListAppRequest
- type ListKeyRequest
- type ModifyAppProfileRequest
- type ModifyAppSecurityRequest
- type ModifyKeyProfileRequest
- type ModifyKeyStatusRequest
- type QueryAppRequest
- type QueryKeyRequest
- type VerifyLicenseRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleActivateKey ¶
func HandleCreateApp ¶
func HandleFetchLicense ¶
func HandleGenerateKey ¶
func HandleListApp ¶
func HandleListKey ¶
func HandleModifyAppProfile ¶
func HandleModifyAppSecurity ¶
func HandleModifyKeyProfile ¶
func HandleModifyKeyStatus ¶
func HandleQueryApp ¶
func HandleQueryKey ¶
func HandleVerifyLicense ¶
Types ¶
type ActivateKeyRequest ¶
type CreateAppRequest ¶
type CreateAppRequest struct {
AppName string `json:"appname" binding:"required"`
}
type FetchLicenseRequest ¶
type GenerateKeyRequest ¶
type ListAppRequest ¶
type ListAppRequest struct { }
type ListKeyRequest ¶
type ModifyAppProfileRequest ¶
type ModifyAppSecurityRequest ¶
type ModifyAppSecurityRequest struct { AppName string `json:"appname" binding:"required"` AppKey string `json:"appkey" binding:"required"` AppSecret string `json:"appsecret" binding:"required"` PrivateKey string `json:"privatekey" binding:"required"` PublicKey string `json:"publickey" binding:"required"` }
type ModifyKeyProfileRequest ¶
type ModifyKeyStatusRequest ¶
type QueryAppRequest ¶
type QueryAppRequest struct {
AppName string `json:"appname" binding:"required"`
}
type QueryKeyRequest ¶
type QueryKeyRequest struct {
Number string `json:"number" binding:"required"`
}
type VerifyLicenseRequest ¶
Click to show internal directories.
Click to hide internal directories.