Versions in this module Expand all Collapse all v0 v0.3.0 Jan 25, 2023 v0.2.0 Jan 25, 2023 v0.1.0 Jan 25, 2023 Changes in this version + var EndpointMap map[string]string + var EndpointType = "central" + func GetEndpointMap() map[string]string + func GetEndpointType() string + func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) + func SetEndpointDataToClient(client *Client) + type Client struct + func NewClient() (client *Client, err error) + func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) + func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) + func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) + func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) + func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) + func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error) + func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) + func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) + func (client *Client) CloseTicket(request *CloseTicketRequest) (response *CloseTicketResponse, err error) + func (client *Client) CloseTicketWithCallback(request *CloseTicketRequest, ...) <-chan int + func (client *Client) CloseTicketWithChan(request *CloseTicketRequest) (<-chan *CloseTicketResponse, <-chan error) + func (client *Client) CreateTicket(request *CreateTicketRequest) (response *CreateTicketResponse, err error) + func (client *Client) CreateTicketWithCallback(request *CreateTicketRequest, ...) <-chan int + func (client *Client) CreateTicketWithChan(request *CreateTicketRequest) (<-chan *CreateTicketResponse, <-chan error) + func (client *Client) GetMqConsumerTag(request *GetMqConsumerTagRequest) (response *GetMqConsumerTagResponse, err error) + func (client *Client) GetMqConsumerTagWithCallback(request *GetMqConsumerTagRequest, ...) <-chan int + func (client *Client) GetMqConsumerTagWithChan(request *GetMqConsumerTagRequest) (<-chan *GetMqConsumerTagResponse, <-chan error) + func (client *Client) ListCategories(request *ListCategoriesRequest) (response *ListCategoriesResponse, err error) + func (client *Client) ListCategoriesWithCallback(request *ListCategoriesRequest, ...) <-chan int + func (client *Client) ListCategoriesWithChan(request *ListCategoriesRequest) (<-chan *ListCategoriesResponse, <-chan error) + func (client *Client) ListProducts(request *ListProductsRequest) (response *ListProductsResponse, err error) + func (client *Client) ListProductsWithCallback(request *ListProductsRequest, ...) <-chan int + func (client *Client) ListProductsWithChan(request *ListProductsRequest) (<-chan *ListProductsResponse, <-chan error) + func (client *Client) ListTicketNotes(request *ListTicketNotesRequest) (response *ListTicketNotesResponse, err error) + func (client *Client) ListTicketNotesWithCallback(request *ListTicketNotesRequest, ...) <-chan int + func (client *Client) ListTicketNotesWithChan(request *ListTicketNotesRequest) (<-chan *ListTicketNotesResponse, <-chan error) + func (client *Client) ListTickets(request *ListTicketsRequest) (response *ListTicketsResponse, err error) + func (client *Client) ListTicketsWithCallback(request *ListTicketsRequest, ...) <-chan int + func (client *Client) ListTicketsWithChan(request *ListTicketsRequest) (<-chan *ListTicketsResponse, <-chan error) + func (client *Client) ReplyTicket(request *ReplyTicketRequest) (response *ReplyTicketResponse, err error) + func (client *Client) ReplyTicketWithCallback(request *ReplyTicketRequest, ...) <-chan int + func (client *Client) ReplyTicketWithChan(request *ReplyTicketRequest) (<-chan *ReplyTicketResponse, <-chan error) + type CloseTicketRequest struct + TicketId string + func CreateCloseTicketRequest() (request *CloseTicketRequest) + type CloseTicketResponse struct + Code int + Message string + RequestId string + Success bool + func CreateCloseTicketResponse() (response *CloseTicketResponse) + type CreateTicketRequest struct + CategoryId string + Description string + Severity requests.Integer + func CreateCreateTicketRequest() (request *CreateTicketRequest) + type CreateTicketResponse struct + Code int + Data string + Message string + RequestId string + Success bool + func CreateCreateTicketResponse() (response *CreateTicketResponse) + type DataInListCategories struct + DataItem []DataItem + type DataInListProducts struct + DataItem []DataItem + type DataInListTicketNotes struct + DataItem []DataItem + type DataInListTickets struct + DataItem []DataItemInListTickets + type DataItem struct + CategoryId int64 + CategoryName string + CreateTime int64 + Dialog Dialog + DialogId int64 + DirectoryId int64 + DirectoryName string + ProductList []ProductListItem + Status int + Tip string + Type int + User User + type DataItemInListTickets struct + Status Status + TicketId string + Title string + type Dialog struct + Content string + Schema string + type GetMqConsumerTagRequest struct + func CreateGetMqConsumerTagRequest() (request *GetMqConsumerTagRequest) + type GetMqConsumerTagResponse struct + Code int + Data string + Message string + RequestId string + Success bool + func CreateGetMqConsumerTagResponse() (response *GetMqConsumerTagResponse) + type ListCategoriesRequest struct + Name string + ProductId requests.Integer + func CreateListCategoriesRequest() (request *ListCategoriesRequest) + type ListCategoriesResponse struct + Code int + Data []DataItem + Message string + RequestId string + Success bool + func CreateListCategoriesResponse() (response *ListCategoriesResponse) + type ListProductsRequest struct + Name string + func CreateListProductsRequest() (request *ListProductsRequest) + type ListProductsResponse struct + Code int + Data []DataItem + Message string + RequestId string + Success bool + func CreateListProductsResponse() (response *ListProductsResponse) + type ListTicketNotesRequest struct + TicketId string + func CreateListTicketNotesRequest() (request *ListTicketNotesRequest) + type ListTicketNotesResponse struct + Code int + Data []DataItem + Message string + RequestId string + Success bool + func CreateListTicketNotesResponse() (response *ListTicketNotesResponse) + type ListTicketsRequest struct + EndDate requests.Integer + Keyword string + PageNumber requests.Integer + PageSize requests.Integer + StartDate requests.Integer + StatusList *[]string + TicketId string + func CreateListTicketsRequest() (request *ListTicketsRequest) + type ListTicketsResponse struct + Code int + Data []DataItemInListTickets + Message string + PageNumber int + PageSize int + RequestId string + Success bool + TotalCount int64 + func CreateListTicketsResponse() (response *ListTicketsResponse) + type ProductList struct + ProductListItem []ProductListItem + type ProductListItem struct + ProductId int64 + ProductName string + type ReplyTicketRequest struct + Content string + Encrypt requests.Boolean + TicketId string + func CreateReplyTicketRequest() (request *ReplyTicketRequest) + type ReplyTicketResponse struct + Code int + Data string + Message string + RequestId string + Success bool + func CreateReplyTicketResponse() (response *ReplyTicketResponse) + type Status struct + Label string + Value string + type User struct + Name string + Role int