state

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

func NewState

func NewState(store broker.KeyValueStore) *State

func (*State) CreateRetainMessageID

func (s *State) CreateRetainMessageID(topic, messageID string) error

func (*State) CreateTopicWillMessageID

func (s *State) CreateTopicWillMessageID(topic, messageID, clientID string) error

func (*State) DeleteRetainMessageID

func (s *State) DeleteRetainMessageID(topic string) error

func (*State) DeleteTopicWillMessageID

func (s *State) DeleteTopicWillMessageID(topic, messageID string) error

func (*State) ReadRetainMessageID

func (s *State) ReadRetainMessageID(topic string) ([]string, error)

func (*State) ReadTopicWillMessageID

func (s *State) ReadTopicWillMessageID(topic string) (map[string]string, error)

Jump to

Keyboard shortcuts

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