Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleName = types.ModuleName RouterKey = types.RouterKey StoreKey = types.StoreKey )
Variables ¶
View Source
var ( NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier NewMsgGreet = types.NewMsgGreet NewGreeting = types.NewGreeting )
Functions ¶
func NewHandler ¶
NewHandler returns a handler for "greeter" type messages.
Types ¶
type AppModule ¶
type AppModule struct { starter.BlankModule ModuleName string // contains filtered or unexported fields }
AppModule contains the full module
func NewAppModule ¶
NewAppModule contstructs the full AppModule struct for this module.
func (AppModule) NewHandler ¶
NewHandler returns a function for routing Messages to their appropriate handler functions.
func (AppModule) NewQuerierHandler ¶
NewQuerierHandler returns a function for routing incoming Queries to the right querier.
func (AppModule) QuerierRoute ¶
QuerierRoute is used for routing Queries to this module.
type AppModuleBasic ¶
type AppModuleBasic struct {
starter.BlankModuleBasic
}
AppModuleBasic is the minimal struct for a module
func (AppModuleBasic) GetQueryCmd ¶
func (ab AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
GetQueryCmd assembles and returns all the clie query CLI commands supported by the module.
func (AppModuleBasic) GetTxCmd ¶
func (ab AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
GetTxCmd assembles and returns all the clie query CLI commands supported by the module.
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
RegisterCodec registers module Messages for encoding/decoding.
type GreetingsList ¶
type GreetingsList = types.GreetingsList
type QueryResGreetings ¶
type QueryResGreetings = types.QueryResGreetings
Click to show internal directories.
Click to hide internal directories.