session

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerQuerySession

func HandlerQuerySession(ctx *context.Context) gin.HandlerFunc

func HandlerQuerySessions

func HandlerQuerySessions(ctx *context.Context) gin.HandlerFunc

func HandlerQuerySessionsForAccount

func HandlerQuerySessionsForAccount(ctx *context.Context) gin.HandlerFunc

func HandlerTxStartSession

func HandlerTxStartSession(ctx *context.Context) gin.HandlerFunc

func RegisterRoutes

func RegisterRoutes(router gin.IRouter, ctx *context.Context)

Types

type RequestQuerySession

type RequestQuerySession struct {
	URI   types.URI
	Query types.Query
}

func NewRequestQuerySession

func NewRequestQuerySession(c *gin.Context) (req *RequestQuerySession, err error)

type RequestQuerySessions

type RequestQuerySessions struct {
	Status     hubtypes.Status
	Pagination *query.PageRequest

	Query types.Query
}

func NewRequestQuerySessions

func NewRequestQuerySessions(c *gin.Context) (req *RequestQuerySessions, err error)

type RequestQuerySessionsForAccount

type RequestQuerySessionsForAccount struct {
	AccAddress sdk.AccAddress
	Status     hubtypes.Status
	Pagination *query.PageRequest

	URI   types.URI
	Query types.Query
}

func NewRequestQuerySessionsForAccount

func NewRequestQuerySessionsForAccount(c *gin.Context) (req *RequestQuerySessionsForAccount, err error)

type RequestTxStartSession

type RequestTxStartSession struct {
	FeeGranter  sdk.AccAddress
	GasPrices   sdk.DecCoins
	NodeAddress hubtypes.NodeAddress

	URI   types.URI
	Query types.Query
	Body  struct {
		types.Body
	}
}

func NewRequestTxStartSession

func NewRequestTxStartSession(c *gin.Context) (req *RequestTxStartSession, err error)

Jump to

Keyboard shortcuts

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