spider

package
v0.0.0-...-2bff06c Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Model
	ConfigName     string `json:"ConfigName"`
	ProviderName   string `json:"ProviderName"`
	DriverName     string `json:"DriverName"`
	CredentialName string `json:"CredentialName"`
	RegionName     string `json:"RegionName"`
}

connection config

func NewConnection

func NewConnection(name string) *Connection

func (*Connection) GET

func (self *Connection) GET() (bool, error)

get connection config

type KeyValue

type KeyValue struct {
	Key   string
	Value string
}

type Model

type Model struct {
}

type Region

type Region struct {
	Model
	RegionName       string     `json:"RegionName"`
	ProviderName     string     `json:"ProviderName"`
	KeyValueInfoList []KeyValue `json:"KeyValueInfoList"`
}

func NewRegion

func NewRegion(name string) *Region

func (*Region) GET

func (self *Region) GET() (bool, error)

get region

Jump to

Keyboard shortcuts

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