wallet

package
v0.0.0-...-ffb6f1e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balance

type Balance struct {
	Mnt  *amount.Amount `json:"mint"`
	Gold *amount.Amount `json:"gold"`
}

Balance data

type GetRes

type GetRes struct {
	Balance       Balance  `json:"balance"`
	Exists        bool     `json:"exists"`
	ApprovedNonce uint64   `json:"approved_nonce"`
	Tags          []string `json:"tags"`
}

GetRes data

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service is a wallet service

func New

func New(reader dao.IDAO, p *rpcpool.Pool, latency mtx.Histogram) *Service

New instance

func (*Service) Get

func (s *Service) Get(w http.ResponseWriter, r *http.Request)

Get ...

Jump to

Keyboard shortcuts

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