session

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandlerAddSession

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

func RegisterRoutes

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

Types

type RequestAddSession

type RequestAddSession struct {
	URI struct {
		AccAddress string `uri:"acc_address"`
		ID         uint64 `uri:"id" binding:"gt=0"`
	}
	Body struct {
		Key       string `json:"key"`
		Signature string `json:"signature"`
	}
	// contains filtered or unexported fields
}

func NewRequestAddSession

func NewRequestAddSession(c *gin.Context) (req *RequestAddSession, err error)

Jump to

Keyboard shortcuts

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