transactiongrp

package
v0.0.0-...-8401909 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	TransactionCore transaction.Core
}

func (Handlers) GetEarliestSyncedTransaction

func (h Handlers) GetEarliestSyncedTransaction(ctx context.Context, w http.ResponseWriter, r *http.Request) error

GetEarliestSyncedTransaction retrieves the earliest transaction from CouchDB.

func (Handlers) GetLatestSyncedTransaction

func (h Handlers) GetLatestSyncedTransaction(ctx context.Context, w http.ResponseWriter, r *http.Request) error

GetLatestSyncedTransaction retrieves the latest transaction from CouchDB.

func (Handlers) GetTransaction

func (h Handlers) GetTransaction(ctx context.Context, w http.ResponseWriter, r *http.Request) error

GetTransaction retrieves a block from CouchDB based on the round number (num)

func (Handlers) GetTransactionsByAcctID

func (h Handlers) GetTransactionsByAcctID(ctx context.Context, w http.ResponseWriter, r *http.Request) error

func (Handlers) GetTransactionsByAcctIDCount

func (h Handlers) GetTransactionsByAcctIDCount(ctx context.Context, w http.ResponseWriter, r *http.Request) error

func (Handlers) GetTransactionsPagination

func (h Handlers) GetTransactionsPagination(ctx context.Context, w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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