go: github.com/stellar/go/txnbuild/examplehorizonclient Index | Files

package examplehorizonclient

import "github.com/stellar/go/txnbuild/examplehorizonclient"

Package examplehorizonclient provides a dummy client for use with the GoDoc examples.

Index

Package Files

examplehorizonclient.go

Variables

var DefaultTestNetClient = Client{}

DefaultTestNetClient is a simple mock

type AccountRequest Uses

type AccountRequest struct {
    AccountID string
}

AccountRequest is a simple mock

type Client Uses

type Client struct {
}

Client is a simple mock

func (*Client) AccountDetail Uses

func (client *Client) AccountDetail(req AccountRequest) (hProtocol.Account, error)

AccountDetail returns a minimal, static Account object

func (*Client) FeeStats Uses

func (client *Client) FeeStats() (hProtocol.FeeStats, error)

FeeStats returns mock network fee information

Package examplehorizonclient imports 1 packages (graph). Updated 2019-07-10. Refresh now. Tools for package owners.