integration

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Address string
	URL     string
}

type ApprovalResponse

type ApprovalResponse struct {
	Approved bool
}

type InputResponse

type InputResponse struct {
	Text string
}

type ListingResponse

type ListingResponse struct {
	Accounts interface{}
}

type PersonalListWalletsResp

type PersonalListWalletsResp []Wallet

type Request

type Request struct {
	JsonRPC string
	Method  string
	Params  []interface{}
	ID      int
}

func NewRPCRequest

func NewRPCRequest(t *testing.T, method string, paramsJSON string) Request

func (*Request) HTTPDo

func (r *Request) HTTPDo(url string) (*http.Response, error)

func (*Request) UnixDo

func (r *Request) UnixDo(t *testing.T, stdioui bool, clef clef, unixSocket string) map[string]interface{}

func (*Request) UnixDoExpectError

func (r *Request) UnixDoExpectError(t *testing.T, clef clef, unixSocket string) string

type SignTxResponse

type SignTxResponse struct {
	Transaction interface{}
	Approved    bool
}

type Wallet

type Wallet struct {
	Accounts []Account
	Status   string
	URL      string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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