tigerbeetle_go

package module
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

README

tigerbeetle-go

This repo has been automatically generated from tigerbeetle/tigerbeetle@73bbc1a32ba2513e369764680350c099fe302285 to keep binary blobs out of the monorepo. Please see https://github.com/tigerbeetle/tigerbeetle/tree/main/src/clients/go for documentation and contributions.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateAccounts(accounts []types.Account) ([]types.AccountEventResult, error)
	CreateTransfers(transfers []types.Transfer) ([]types.TransferEventResult, error)
	LookupAccounts(accountIDs []types.Uint128) ([]types.Account, error)
	LookupTransfers(transferIDs []types.Uint128) ([]types.Transfer, error)
	GetAccountTransfers(filter types.AccountFilter) ([]types.Transfer, error)
	GetAccountBalances(filter types.AccountFilter) ([]types.AccountBalance, error)

	Nop() error
	Close()
}

func NewClient

func NewClient(
	clusterID types.Uint128,
	addresses []string,
	concurrencyMax uint,
) (Client, error)

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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