aceops

package
v0.0.0-...-0b043e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Ace-ops"
	Style   = "RPC"
	Version = "2015-09-09"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

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

func (api API) Report(group, ip, name, typ string, optional openapi.M) (*openapi.Response, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL