acctgrp

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 {
	AcctCore account.Core
}

func (Handlers) GetAccount

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

GetAccount retrieves an account from CouchDB based on the account address (addr)

func (Handlers) GetAccountsPagination

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

func (Handlers) GetAcctCount

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

func (Handlers) GetEarliestSyncedAccountAddr

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

GetEarliestSyncedAccountAddr retrieves the earliest account address from CouchDB.

func (Handlers) GetLatestSyncedAccountAddr

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

GetLatestSyncedAccountAddr retrieves the latest account address from CouchDB.

Jump to

Keyboard shortcuts

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