Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) AddRecord(ctx sdk.Context, record types.Record) []byte
- func (k Keeper) GetIntraTxCounter(ctx sdk.Context) uint32
- func (k Keeper) GetRecord(ctx sdk.Context, recordID []byte) (record types.Record, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Record(c context.Context, req *types.QueryRecordRequest) (*types.QueryRecordResponse, error)
- func (k Keeper) RecordsIterator(ctx sdk.Context) sdk.Iterator
- func (k Keeper) SetIntraTxCounter(ctx sdk.Context, counter uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the record MsgServer interface for the provided Keeper.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
NewQuerier creates a querier for record REST endpoints
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the record store
func NewKeeper ¶
func NewKeeper(cdc codec.Codec, key storetypes.StoreKey) Keeper
NewKeeper returns a record keeper
func (Keeper) GetIntraTxCounter ¶
GetIntraTxCounter gets the current in-block request operation counter
func (Keeper) Record ¶
func (k Keeper) Record(c context.Context, req *types.QueryRecordRequest) (*types.QueryRecordResponse, error)
func (Keeper) RecordsIterator ¶
RecordsIterator gets all records
Click to show internal directories.
Click to hide internal directories.