package
0.22.0
Repository: https://github.com/eclipse/paho.golang.git
Documentation: pkg.go.dev

# README

paho.golang/paho/session/state

This is an implementation of the paho.golang/paho/session.SessionManager interface and is the implementation used by default (should be suitable for mose use cases but can be replaced if it does not meet your needs).

# Functions

New creates a new state which will persist information using the passed in storer's.
NewInMemory returns a default State that stores all information in memory.

# Variables

ErrUnexpectedRelease is for logging only (to help identify if there are issues with state management).

# Structs

State manages the session state.