test

package
v0.0.0-...-81fcf0e Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SECRET_ID       = "Your Qcloud Secret Id"
	SECRET_KEY      = "Your Qcloud Secret Key"
	PLUGIN_HOST_URL = "Your Plugin Host IP"
)

Variables

This section is empty.

Functions

func CallPlugin

func CallPlugin(name, action, input string) map[string]string

func UnmarshalJson

func UnmarshalJson(source interface{}, target interface{}) error

Types

type Output

type Output struct {
	RequestId string `json:"request_id,omitempty"`
	Guid      string `json:"guid,omitempty"`
	Id        string `json:"id,omitempty"`
}

type Outputs

type Outputs struct {
	Outputs []Output `json:"outputs,omitempty"`
}

type PluginResponse

type PluginResponse struct {
	ResultCode string  `json:"result_code"`
	ResultMsg  string  `json:"result_message"`
	Results    Outputs `json:"results"`
}

Jump to

Keyboard shortcuts

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