Documentation ¶
Index ¶
Constants ¶
View Source
const ( Product = "Ace-ops" Style = "RPC" Version = "2015-09-09" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) Query ¶
func (api API) Query(group, ip, name string, optional openapi.M) (*QueryResponse, error)
Query version 2015-09-09
required parameters:
name: group, type: string name: ip, type: string name: name, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: softversion, type: string
func (API) Report ¶
Report version 2015-09-09
required parameters:
name: group, type: string name: ip, type: string name: name, type: string name: type, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: config, type: string name: softversion, type: string
type QueryResponse ¶
type QueryResponse struct { Softversion string `json:"softversion" xml:"softversion"` Url string `json:"url" xml:"url"` }
QueryResponse represents the response of the api Query.
Click to show internal directories.
Click to hide internal directories.