keys

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerAddKey

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

func HandlerDeleteKey

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

func HandlerGetKey

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

func HandlerGetKeys

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

func RegisterRoutes

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

Types

type RequestAddKey

type RequestAddKey struct {
	Name          string `json:"name"`
	Mnemonic      string `json:"mnemonic"`
	BIP39Password string `json:"bip_39_password"`
}

func NewRequestAddKey

func NewRequestAddKey(r *http.Request) (*RequestAddKey, error)

func (*RequestAddKey) Validate

func (r *RequestAddKey) Validate() error

Jump to

Keyboard shortcuts

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