Documentation
¶
Index ¶
- func Delete(client *golangsdk.ServiceClient, gatewayID, appID, appCodeID string) (err error)
- type AppCodePage
- type CodeResp
- func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*CodeResp, error)
- func ExtractAppCodes(r pagination.NewPage) ([]CodeResp, error)
- func GenerateAppCode(client *golangsdk.ServiceClient, gatewayID, appID string) (*CodeResp, error)
- func Get(client *golangsdk.ServiceClient, gatewayID, appID, appCodeID string) (*CodeResp, error)
- func List(client *golangsdk.ServiceClient, opts ListOpts) ([]CodeResp, error)
- type CreateOpts
- type ListOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppCodePage ¶
type AppCodePage struct {
pagination.NewSinglePageBase
}
type CodeResp ¶
type CodeResp struct {
ID string `json:"id"`
AppID string `json:"app_id"`
AppCode string `json:"app_code"`
CreateTime string `json:"create_time"`
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*CodeResp, error)
func ExtractAppCodes ¶
func ExtractAppCodes(r pagination.NewPage) ([]CodeResp, error)
func GenerateAppCode ¶
func GenerateAppCode(client *golangsdk.ServiceClient, gatewayID, appID string) (*CodeResp, error)
type CreateOpts ¶
Click to show internal directories.
Click to hide internal directories.