distribution

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 HandlerWithdrawRewards

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

func RegisterRoutes

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

Types

type RequestWithdrawRewards

type RequestWithdrawRewards struct {
	Memo       string   `json:"memo"`
	Validators []string `json:"validators"`
}

func NewRequestWithdrawRewards

func NewRequestWithdrawRewards(r *http.Request) (*RequestWithdrawRewards, error)

func (*RequestWithdrawRewards) Validate

func (r *RequestWithdrawRewards) Validate() error

Jump to

Keyboard shortcuts

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