common

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryOngoingSession

func QueryOngoingSession(ctx context.CLIContext, id uint64, address sdk.AccAddress) (*types.Session, error)

func QuerySession

func QuerySession(ctx context.CLIContext, id uint64) (*types.Session, error)

func QuerySessions

func QuerySessions(ctx context.CLIContext, page, limit int) (types.Sessions, error)

func QuerySessionsForAddress

func QuerySessionsForAddress(ctx context.CLIContext, address sdk.AccAddress, page, limit int) (types.Sessions, error)

func QuerySessionsForNode

func QuerySessionsForNode(ctx context.CLIContext, address hub.NodeAddress, page, limit int) (types.Sessions, error)

func QuerySessionsForSubscription

func QuerySessionsForSubscription(ctx context.CLIContext, id uint64, page, limit int) (types.Sessions, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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