store

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: 6 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 {
	broker.TopicMessageStore
}

func NewController

func NewController(store broker.TopicMessageStore) *Controller

func (*Controller) Get

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

func (*Controller) Info

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

type InfoData

type InfoData struct {
	MessageID   string
	Payload     []byte
	PubReceived bool
	FromSession bool
	TimeStamp   int64
	ExpiredTime int64
	Will        bool
}

type InfoResponse

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

Jump to

Keyboard shortcuts

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