examplehorizonclient

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

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var DefaultTestNetClient = Client{}

DefaultTestNetClient is a simple mock

Functions

This section is empty.

Types

type AccountRequest

type AccountRequest struct {
	AccountID string
}

AccountRequest is a simple mock

type Client

type Client struct {
}

Client is a simple mock

func (*Client) AccountDetail

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

AccountDetail returns a minimal, static Account object

func (*Client) FeeStats

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

FeeStats returns mock network fee information

Jump to

Keyboard shortcuts

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