query

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DefaultLimit = 15
)

Variables

This section is empty.

Functions

func SetAccountFilter added in v1.3.2

func SetAccountFilter(v string) func(*Transactions)

func SetAddressRegexpFilter added in v1.3.2

func SetAddressRegexpFilter(v string) func(*Accounts)

func SetAfterAddress added in v1.3.2

func SetAfterAddress(v string) func(*Accounts)

func SetAfterTxID added in v1.3.2

func SetAfterTxID(v uint64) func(*Transactions)

func SetDestinationFilter added in v1.3.2

func SetDestinationFilter(v string) func(*Transactions)

func SetEndTime added in v1.3.2

func SetEndTime(v time.Time) func(*Transactions)

func SetMetadataFilter added in v1.3.2

func SetMetadataFilter(v map[string]string) func(*Accounts)

func SetOffset added in v1.3.2

func SetOffset(v uint) func(accounts *Accounts)

func SetReferenceFilter added in v1.3.2

func SetReferenceFilter(v string) func(*Transactions)

func SetSourceFilter added in v1.3.2

func SetSourceFilter(v string) func(*Transactions)

func SetStartTime added in v1.3.2

func SetStartTime(v time.Time) func(*Transactions)

Types

type AccModifier added in v1.3.2

type AccModifier func(*Accounts)

type Accounts added in v1.3.2

type Accounts struct {
	Limit        uint
	Offset       uint
	AfterAddress string
	Params       map[string]interface{}
}

func NewAccounts added in v1.3.2

func NewAccounts(qms ...[]AccModifier) Accounts

func (*Accounts) Apply added in v1.3.2

func (q *Accounts) Apply(modifiers []AccModifier)

type Transactions added in v1.3.2

type Transactions struct {
	Limit     uint
	AfterTxID uint64
	Params    map[string]interface{}
}

func NewTransactions added in v1.3.2

func NewTransactions(qms ...[]TxModifier) Transactions

func (*Transactions) Apply added in v1.3.2

func (q *Transactions) Apply(modifiers []TxModifier)

type TxModifier added in v1.3.2

type TxModifier func(*Transactions)

Jump to

Keyboard shortcuts

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