pkg

package
v0.0.0-...-3cca90f Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boo

type Boo = Foo

Boo alias Foo type

type Disk

type Disk interface {
	CreateDisk(data map[string]interface{}) error
	AttachDisk(id, target string) error
	DetachDisk(id, target string) error
	DescribeDisks(q url.Values) error
}

Disk test interface type

type ECS

type ECS interface {
	Create(data map[string]interface{}) error
	Update(data map[string]interface{}) error
	Find(id string) (Foo, error)
	Delete(id string) error
}

ECS test interface type

type Foo

type Foo struct {

	// FooString field docs 1
	//
	// FooString field docs 2-1
	// FooString field docs 2-2
	//
	// FooString field docs 3
	FooString string /* FooA field line comment */ // FooA comment2

	// FooInt field docs
	FooA, FooInt int /* FooB field line comment */ // FooB comment2

	// FooIntArray field docs
	FooIntArray []int /* FooIntArray field line comment */ // FooIntArray comment2

	// Reader field documentation
	Reader io.Reader // Reader line comment

	// Client field documentation
	http.Client // Client field line comment
}

Foo type this is Foo type desc

func (Foo) Get

func (f Foo) Get(client, client2 http.Client) (*http.Response, error)

Get return xxx this is status desc this is status desc

func (Foo) Status

func (f Foo) Status(a string) (s string)

Status return status this is status desc this is status desc

type Stack

type Stack interface {
	// ECS (Elastic Compute Service)
	ECS  // ECS type
	Disk // Disk type
}

Stack test interface type

Jump to

Keyboard shortcuts

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