booking

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(k Keeper) sdk.Handler

func RegisterCodec

func RegisterCodec(cdc *amino.Codec) *amino.Codec

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(bookingKey sdk.StoreKey, assetKey sdk.StoreKey, am auth.AccountMapper, cdc *amino.Codec) Keeper

func (Keeper) Book

func (k Keeper) Book(ctx sdk.Context, msg msg.MsgBook) (types.Booking, error)

func (Keeper) Complete

func (k Keeper) Complete(ctx sdk.Context, msg msg.MsgComplete) (types.Booking, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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