Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetAllServiceRecord(ctx sdk.Context) (list []types.ServiceRecord)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetServiceRecord(ctx sdk.Context, Id string) (val types.ServiceRecord, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveServiceRecord(ctx sdk.Context, Id string)
- func (k Keeper) ServiceRecord(goCtx context.Context, req *types.QueryGetServiceRecordRequest) (*types.QueryGetServiceRecordResponse, error)
- func (k Keeper) ServiceRecordAll(goCtx context.Context, req *types.QueryAllServiceRecordRequest) (*types.QueryAllServiceRecordResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetServiceRecord(ctx sdk.Context, serviceRecord types.ServiceRecord)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, groupKeeper types.GroupKeeper, identityKeeper types.IdentityKeeper, ) *Keeper
func (Keeper) GetAllServiceRecord ¶
func (k Keeper) GetAllServiceRecord(ctx sdk.Context) (list []types.ServiceRecord)
GetAllServiceRecord returns all serviceRecord
func (Keeper) GetServiceRecord ¶
func (k Keeper) GetServiceRecord( ctx sdk.Context, Id string, ) (val types.ServiceRecord, found bool)
GetServiceRecord returns a serviceRecord from its Id
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveServiceRecord ¶
RemoveServiceRecord removes a serviceRecord from the store
func (Keeper) ServiceRecord ¶
func (k Keeper) ServiceRecord(goCtx context.Context, req *types.QueryGetServiceRecordRequest) (*types.QueryGetServiceRecordResponse, error)
func (Keeper) ServiceRecordAll ¶
func (k Keeper) ServiceRecordAll(goCtx context.Context, req *types.QueryAllServiceRecordRequest) (*types.QueryAllServiceRecordResponse, error)
func (Keeper) SetServiceRecord ¶
func (k Keeper) SetServiceRecord(ctx sdk.Context, serviceRecord types.ServiceRecord)
SetServiceRecord set a specific serviceRecord in the store from its Id
Click to show internal directories.
Click to hide internal directories.