session

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/session/types ALIASGEN: github.com/sentinel-official/hub/x/session/keeper ALIASGEN: github.com/sentinel-official/hub/x/session/querier

Index

Constants

View Source
const (
	Codespace                    = types.Codespace
	EventTypeSetCount            = types.EventTypeSetCount
	EventTypeSetActive           = types.EventTypeSetActive
	EventTypeUpdate              = types.EventTypeUpdate
	AttributeKeyCount            = types.AttributeKeyCount
	AttributeKeyID               = types.AttributeKeyID
	AttributeKeySubscription     = types.AttributeKeySubscription
	AttributeKeyAddress          = types.AttributeKeyAddress
	ModuleName                   = types.ModuleName
	ParamsSubspace               = types.ParamsSubspace
	QuerierRoute                 = types.QuerierRoute
	DefaultInactiveDuration      = types.DefaultInactiveDuration
	QuerySession                 = types.QuerySession
	QuerySessions                = types.QuerySessions
	QuerySessionsForSubscription = types.QuerySessionsForSubscription
	QuerySessionsForNode         = types.QuerySessionsForNode
	QuerySessionsForAddress      = types.QuerySessionsForAddress
	QueryOngoingSession          = types.QueryOngoingSession
)

Variables

View Source
var (
	// functions aliases
	RegisterCodec                         = types.RegisterCodec
	ErrorMarshal                          = types.ErrorMarshal
	ErrorUnmarshal                        = types.ErrorUnmarshal
	ErrorUnknownMsgType                   = types.ErrorUnknownMsgType
	ErrorUnknownQueryType                 = types.ErrorUnknownQueryType
	ErrorInvalidField                     = types.ErrorInvalidField
	ErrorSubscriptionDoesNotExit          = types.ErrorSubscriptionDoesNotExit
	ErrorInvalidSubscriptionStatus        = types.ErrorInvalidSubscriptionStatus
	ErrorUnauthorized                     = types.ErrorUnauthorized
	ErrorQuotaDoesNotExist                = types.ErrorQuotaDoesNotExist
	ErrorInvalidBandwidth                 = types.ErrorInvalidBandwidth
	NewGenesisState                       = types.NewGenesisState
	DefaultGenesisState                   = types.DefaultGenesisState
	SessionKey                            = types.SessionKey
	GetSessionForSubscriptionKeyPrefix    = types.GetSessionForSubscriptionKeyPrefix
	SessionForSubscriptionKey             = types.SessionForSubscriptionKey
	GetSessionForNodeKeyPrefix            = types.GetSessionForNodeKeyPrefix
	SessionForNodeKey                     = types.SessionForNodeKey
	GetSessionForAddressKeyPrefix         = types.GetSessionForAddressKeyPrefix
	SessionForAddressKey                  = types.SessionForAddressKey
	GetOngoingSessionPrefix               = types.GetOngoingSessionPrefix
	OngoingSessionKey                     = types.OngoingSessionKey
	GetActiveSessionAtKeyPrefix           = types.GetActiveSessionAtKeyPrefix
	ActiveSessionAtKey                    = types.ActiveSessionAtKey
	NewMsgUpsert                          = types.NewMsgUpsert
	NewParams                             = types.NewParams
	DefaultParams                         = types.DefaultParams
	ParamsKeyTable                        = types.ParamsKeyTable
	NewQuerySessionParams                 = types.NewQuerySessionParams
	NewQuerySessionsParams                = types.NewQuerySessionsParams
	NewQuerySessionsForSubscriptionParams = types.NewQuerySessionsForSubscriptionParams
	NewQuerySessionsForNodeParams         = types.NewQuerySessionsForNodeParams
	NewQuerySessionsForAddressParams      = types.NewQuerySessionsForAddressParams
	NewQueryOngoingSessionParams          = types.NewQueryOngoingSessionParams
	NewKeeper                             = keeper.NewKeeper
	Querier                               = querier.Querier

	// variable aliases
	ModuleCdc                       = types.ModuleCdc
	RouterKey                       = types.RouterKey
	StoreKey                        = types.StoreKey
	EventModuleName                 = types.EventModuleName
	CountKey                        = types.CountKey
	SessionKeyPrefix                = types.SessionKeyPrefix
	SessionForSubscriptionKeyPrefix = types.SessionForSubscriptionKeyPrefix
	SessionForNodeKeyPrefix         = types.SessionForNodeKeyPrefix
	SessionForAddressKeyPrefix      = types.SessionForAddressKeyPrefix
	OngoingSessionKeyPrefix         = types.OngoingSessionKeyPrefix
	ActiveSessionAtKeyPrefix        = types.ActiveSessionAtKeyPrefix
	KeyInactiveDuration             = types.KeyInactiveDuration
)

Functions

func EndBlock

func EndBlock(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState

func HandleUpsert

func HandleUpsert(ctx sdk.Context, k keeper.Keeper, msg types.MsgUpsert) sdk.Result

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)

func ValidateGenesis

func ValidateGenesis(state types.GenesisState) error

Types

type GenesisState

type GenesisState = types.GenesisState

type Keeper

type Keeper = keeper.Keeper

type MsgUpsert

type MsgUpsert = types.MsgUpsert

type Params

type Params = types.Params

type QueryOngoingSessionParams

type QueryOngoingSessionParams = types.QueryOngoingSessionParams

type QuerySessionParams

type QuerySessionParams = types.QuerySessionParams

type QuerySessionsForAddressParams

type QuerySessionsForAddressParams = types.QuerySessionsForAddressParams

type QuerySessionsForNodeParams

type QuerySessionsForNodeParams = types.QuerySessionsForNodeParams

type QuerySessionsForSubscriptionParams

type QuerySessionsForSubscriptionParams = types.QuerySessionsForSubscriptionParams

type QuerySessionsParams

type QuerySessionsParams = types.QuerySessionsParams

type Session

type Session = types.Session

type Sessions

type Sessions = types.Sessions

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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