gateway

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(gatewayURL string, log utils.SimpleLogger) *Client

func NewTestClient

func NewTestClient() (*Client, closeTestClient)

NewTestClient returns a client and a function to close a test server.

func (*Client) AddTransaction

func (c *Client) AddTransaction(txn json.RawMessage) (json.RawMessage, error)

Jump to

Keyboard shortcuts

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