cosmos-sdk/types/queryable.go

10 lines
274 B
Go
Raw Normal View History

2018-07-31 18:48:32 -07:00
package types
import (
abci "github.com/tendermint/tendermint/abci/types"
)
2018-07-31 18:48:32 -07:00
// 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)