Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) GetAllOwners(ctx sdk.Context) ([]types.OwnerCompositeKey, []types.Owner)
- func (k Keeper) GetAllRecords(ctx sdk.Context) ([]types.RecordCompositeKey, []types.Record)
- func (k Keeper) GetAllTopics(ctx sdk.Context) ([]types.TopicCompositeKey, []types.Topic)
- func (k Keeper) GetAllWriters(ctx sdk.Context) ([]types.WriterCompositeKey, []types.Writer)
- func (k Keeper) GetOwner(ctx sdk.Context, key types.OwnerCompositeKey) types.Owner
- func (k Keeper) GetRecord(ctx sdk.Context, key types.RecordCompositeKey) types.Record
- func (k Keeper) GetTopic(ctx sdk.Context, key types.TopicCompositeKey) types.Topic
- func (k Keeper) GetWriter(ctx sdk.Context, key types.WriterCompositeKey) types.Writer
- func (k Keeper) HasOwner(ctx sdk.Context, key types.OwnerCompositeKey) bool
- func (k Keeper) HasRecord(ctx sdk.Context, key types.RecordCompositeKey) bool
- func (k Keeper) HasTopic(ctx sdk.Context, key types.TopicCompositeKey) bool
- func (k Keeper) HasWriter(ctx sdk.Context, key types.WriterCompositeKey) 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) RemoveWriter(ctx sdk.Context, key types.WriterCompositeKey)
- func (k Keeper) SetOwner(ctx sdk.Context, key types.OwnerCompositeKey, owner types.Owner)
- func (k Keeper) SetRecord(ctx sdk.Context, key types.RecordCompositeKey, record types.Record)
- func (k Keeper) SetTopic(ctx sdk.Context, key types.TopicCompositeKey, topic types.Topic)
- func (k Keeper) SetWriter(ctx sdk.Context, key types.WriterCompositeKey, writer types.Writer)
- func (k Keeper) Topic(c context.Context, req *types.QueryTopicRequest) (*types.QueryTopicResponse, error)
- func (k Keeper) Topics(c context.Context, req *types.QueryTopicsRequest) (*types.QueryTopicsResponse, error)
- func (k Keeper) Writer(c context.Context, req *types.QueryWriterRequest) (*types.QueryWriterResponse, error)
- func (k Keeper) Writers(c context.Context, req *types.QueryWritersRequest) (*types.QueryWritersResponse, error)
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.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) GetAllOwners ¶
func (Keeper) GetAllRecords ¶
GetAllRecords returns all records
func (Keeper) GetAllTopics ¶
GetAllTopics returns all topics
func (Keeper) GetAllWriters ¶
GetAllWriters returns all writers
func (Keeper) Record ¶
func (k Keeper) Record(c context.Context, req *types.QueryRecordRequest) (*types.QueryRecordResponse, error)
func (Keeper) RemoveWriter ¶
func (k Keeper) RemoveWriter(ctx sdk.Context, key types.WriterCompositeKey)
RemoveWriter removes a writer from the store
func (Keeper) Topic ¶
func (k Keeper) Topic(c context.Context, req *types.QueryTopicRequest) (*types.QueryTopicResponse, error)
func (Keeper) Topics ¶
func (k Keeper) Topics(c context.Context, req *types.QueryTopicsRequest) (*types.QueryTopicsResponse, error)
func (Keeper) Writer ¶
func (k Keeper) Writer(c context.Context, req *types.QueryWriterRequest) (*types.QueryWriterResponse, error)
func (Keeper) Writers ¶
func (k Keeper) Writers(c context.Context, req *types.QueryWritersRequest) (*types.QueryWritersResponse, error)
Click to show internal directories.
Click to hide internal directories.