session

package
v0.0.0-...-edd4e79 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(manager Manager) *Controller

func (*Controller) Info

func (c *Controller) Info(ctx echo.Context) error

type InfoRequest

type InfoRequest struct {
	ClientID string `param:"client_id" validate:"required"`
}

type InfoResponse

type InfoResponse struct {
	*base.Response
	Data infoData `json:"data"`
}

type Manager

type Manager interface {
	ReadSession(key string) (broker.Session, bool)
}

Jump to

Keyboard shortcuts

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