greeter

package
v0.0.0-...-79a0367 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

func NewHandler(keeper Keeper) sdk.Handler

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

func NewAppModule(keeper Keeper) AppModule

NewAppModule contstructs the full AppModule struct for this module.

func (AppModule) NewHandler

func (am AppModule) NewHandler() sdk.Handler

NewHandler returns a function for routing Messages to their appropriate handler functions.

func (AppModule) NewQuerierHandler

func (am AppModule) NewQuerierHandler() sdk.Querier

NewQuerierHandler returns a function for routing incoming Queries to the right querier.

func (AppModule) QuerierRoute

func (am AppModule) QuerierRoute() string

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 Greeting

type Greeting = types.Greeting

type GreetingsList

type GreetingsList = types.GreetingsList

type Keeper

type Keeper = keeper.Keeper

type MsgGreet

type MsgGreet = types.MsgGreet

type QueryResGreetings

type QueryResGreetings = types.QueryResGreetings

Directories

Path Synopsis
client
cli
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL