bank

package
v0.0.0-...-1ac23cf Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerSend

func HandlerSend(ctx *context.Context) http.HandlerFunc

func RegisterRoutes

func RegisterRoutes(r *mux.Router, ctx *context.Context)

Types

type RequestSend

type RequestSend struct {
	Memo  string       `json:"memo"`
	To    string       `json:"to"`
	Coins common.Coins `json:"coins"`
}

func NewRequestSend

func NewRequestSend(r *http.Request) (*RequestSend, error)

func (*RequestSend) Validate

func (r *RequestSend) Validate() error

Jump to

Keyboard shortcuts

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