Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AddPost(ctx sdk.Context, post types.Post)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx context.Context) (params types.Params)
- func (k Keeper) GetPost(ctx sdk.Context, namespace string) (post types.Post, found bool)
- func (k Keeper) Logger() log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) ReadPost(goCtx context.Context, req *types.QueryReadPostRequest) (*types.QueryReadPostResponse, error)
- func (k Keeper) SetParams(ctx context.Context, params types.Params) 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.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeService store.KVStoreService, logger log.Logger, authority string, ) Keeper
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) ReadPost ¶
func (k Keeper) ReadPost(goCtx context.Context, req *types.QueryReadPostRequest) (*types.QueryReadPostResponse, error)
Click to show internal directories.
Click to hide internal directories.