sess

package
v0.0.0-...-3596c24 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMemManager

func NewMemManager(sessionStore store.SessionStore) sess.Manager

func NewMemSession

func NewMemSession(cMsg *message.ConnectMessage, op ...Option) (*session, error)

func WithOfflineMsgToSess

func WithOfflineMsgToSess(s *session, offlineMsg []message.Message)

func WithOldTopicToSess

func WithOldTopicToSess(s *session, sub []topic.Sub)

Types

type AckQueues

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

type Option

type Option func(s *session)

func WithOfflineMsg

func WithOfflineMsg(offlineMsg []message.Message) Option

func WithOldTopic

func WithOldTopic(subs []topic.Sub) Option

Jump to

Keyboard shortcuts

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