cosmos-sdk/types/queryable.go
2019-12-27 12:57:54 -05:00

10 lines
274 B
Go

package types
import (
abci "github.com/tendermint/tendermint/abci/types"
)
// Querier defines a function type that a module querier must implement to handle
// custom client queries.
type Querier = func(ctx Context, path []string, req abci.RequestQuery) ([]byte, error)