rest

package
v0.0.0-...-8551cdf Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, storeName string)

RegisterRoutes registers the auth module REST routes.

Types

type CreateAccountReq

type CreateAccountReq struct {
	BaseReq     rest.BaseReq `json:"base_req" yaml:"base_req"`
	Creator     string       `json:"creator" yaml:"creator"`
	Account     string       `json:"account" yaml:"account"`
	AccountAuth string       `json:"account_auth" yaml:"account_auth"`
}

type UpdateAuthReq

type UpdateAuthReq struct {
	BaseReq        rest.BaseReq `json:"base_req" yaml:"base_req"`
	Account        string       `json:"account" yaml:"account"`
	NewAccountAuth string       `json:"new_account_auth" yaml:"new_account_auth"`
}

Jump to

Keyboard shortcuts

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