Documentation ¶
Index ¶
- func HandlerAddKey(ctx *context.Context) http.HandlerFunc
- func HandlerDeleteKey(ctx *context.Context) http.HandlerFunc
- func HandlerGetKey(ctx *context.Context) http.HandlerFunc
- func HandlerGetKeys(ctx *context.Context) http.HandlerFunc
- func RegisterRoutes(r *mux.Router, ctx *context.Context)
- type RequestAddKey
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
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
Click to show internal directories.
Click to hide internal directories.