cosmos-sdk: github.com/cosmos/cosmos-sdk/x/evidence/client Index | Files | Directories

package client

import "github.com/cosmos/cosmos-sdk/x/evidence/client"

Index

Package Files

evidence_handler.go

type CLIHandlerFn Uses

type CLIHandlerFn func() *cobra.Command

CLIHandlerFn defines a CLI command handler for evidence submission

type EvidenceHandler Uses

type EvidenceHandler struct {
    CLIHandler  CLIHandlerFn
    RESTHandler RESTHandlerFn
}

EvidenceHandler defines a type that exposes REST and CLI client handlers for evidence submission.

func NewEvidenceHandler Uses

func NewEvidenceHandler(cliHandler CLIHandlerFn, restHandler RESTHandlerFn) EvidenceHandler

type RESTHandlerFn Uses

type RESTHandlerFn func(client.Context) rest.EvidenceRESTHandler

RESTHandlerFn defines a REST service handler for evidence submission

Directories

PathSynopsis
cli
rest

Package client imports 3 packages (graph) and is imported by 1 packages. Updated 2020-08-04. Refresh now. Tools for package owners.