rest

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryAccountRequestHandlerFn

func QueryAccountRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

swagger:route GET /auth/accounts/{address} auth authAccount It returns the account details. responses:

200: authAccountResponse

QueryAccountRequestHandlerFn query account REST Handler

func QueryAccountSequenceRequestHandlerFn

func QueryAccountSequenceRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

swagger:route GET /auth/accounts/{address}/sequence auth authAccountSequence It returns the account sequence responses:

200: authAccountSequenceResponse

QueryAccountSequenceRequestHandlerFn query account sequence REST Handler

func RegisterRoutes

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

RegisterRoutes - Central function to define routes that get registered by the main application RegisterRoutes registers the auth module REST routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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