Documentation ¶
Index ¶
Constants ¶
View Source
const (
ListGreetings = "list"
)
query endpoints supported by the hellochain Querier
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
func (Keeper) GetGreetings ¶
func (k Keeper) GetGreetings(ctx sdk.Context, addr sdk.AccAddress, from sdk.Address) gtypes.GreetingsList
GetGreetings returns the greetings for a given address and given sender
func (Keeper) GetGreetingsIterator ¶
GetGreetingsIterator returns an iterator over all names in which the keys are the addresses and the values are lists of greetings.
Click to show internal directories.
Click to hide internal directories.