query

package
v0.0.0-...-31acdf0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetByID

func AssetByID(code string) string

func AssetList

func AssetList() string

func CreateIssuanceRequestByID

func CreateIssuanceRequestByID(code string) string

func CreateIssuanceRequestList

func CreateIssuanceRequestList() string

func TransactionByID

func TransactionByID(id string) string

func TransactionList

func TransactionList() string

Types

type AssetFilters

type AssetFilters struct {
	Owner  *string
	Policy *uint32
	State  *uint32
}

type AssetIncludes

type AssetIncludes struct {
	Owner bool
}

func (AssetIncludes) Prepare

func (p AssetIncludes) Prepare() url.Values

type AssetParams

type AssetParams struct {
	Includes   AssetIncludes
	Filters    AssetFilters
	PageParams page.Params
}

func (AssetParams) Prepare

func (p AssetParams) Prepare() url.Values

type CreateIssuanceRequestFilters

type CreateIssuanceRequestFilters struct {
	ReviewableRequestFilters
	Receiver *string
	Asset    *string
}

type CreateIssuanceRequestIncludes

type CreateIssuanceRequestIncludes struct {
	ReviewableRequestIncludes
	Balance bool
	Asset   bool
}

func (CreateIssuanceRequestIncludes) Prepare

type CreateIssuanceRequestParams

type CreateIssuanceRequestParams struct {
	Includes   CreateIssuanceRequestIncludes
	Filters    CreateIssuanceRequestFilters
	PageParams page.Params
}

func (CreateIssuanceRequestParams) Prepare

type Params

type Params interface {
	Prepare() url.Values
}

type ReviewableRequestFilters

type ReviewableRequestFilters struct {
	State              *int
	Reviewer           *string
	Requestor          *string
	PendingTasks       *string
	PendingTasksAnyOf  *string
	PendingTasksNotSet *string
}

type ReviewableRequestIncludes

type ReviewableRequestIncludes struct {
	RequestDetails bool
}

func (ReviewableRequestIncludes) Prepare

func (p ReviewableRequestIncludes) Prepare() url.Values

type TransactionFilters

type TransactionFilters struct {
	ChangeTypes []int
	EntryTypes  []int
}

type TransactionIncludes

type TransactionIncludes struct {
	LedgerEntryChanges bool
}

func (TransactionIncludes) Prepare

func (p TransactionIncludes) Prepare() url.Values

type TransactionParams

type TransactionParams struct {
	Includes   TransactionIncludes
	Filters    TransactionFilters
	PageParams page.Params
}

func (TransactionParams) Prepare

func (p TransactionParams) Prepare() url.Values

Jump to

Keyboard shortcuts

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