rest

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandlerQueryOperator

func GetHandlerQueryOperator(cliCtx client.Context) http.HandlerFunc

GetHandlerQueryOperator returns the operator address associated to some proxy address

func GetHandlerQueryProxy

func GetHandlerQueryProxy(cliCtx client.Context) http.HandlerFunc

GetHandlerQueryProxy returns the proxy address associated to some operator address

func GetHandlerQuerySnapshot

func GetHandlerQuerySnapshot(cliCtx client.Context) http.HandlerFunc

GetHandlerQuerySnapshot returns the snapshot for a given counter

func RegisterRoutes

func RegisterRoutes(cliCtx client.Context, r *mux.Router)

RegisterRoutes registers rest routes for this module

Types

type ReqDeactivateProxy

type ReqDeactivateProxy struct {
	BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
}

ReqDeactivateProxy defines the properties of a tx request's body

type ReqRegisterProxy

type ReqRegisterProxy struct {
	BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
}

ReqRegisterProxy defines the properties of a tx request's body

Jump to

Keyboard shortcuts

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