memory

package
v0.0.0-...-73e4950 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrSocketIDTransportNotFound erro.StringF = "socket id %q not found in the in-memory map"
	ErrNilTransporter            erro.String  = "expected a type of Transporter, found <nil>"
)

All of the possible errors the map transport can return

Variables

This section is empty.

Functions

func NewInMemoryTransport

func NewInMemoryTransport(fn siop.NewPacket) *inMemoryTransport

NewInMemoryTransport returns a mapTransport object with all defaults. Pass in the version that must be used for creating new packets based on the codec that is being used.

Types

type Data

type Data = siot.Data

type Namespace

type Namespace = string

type Option

type Option = siop.Option

type Room

type Room = string

type SessionID

type SessionID = eiot.SessionID

type Socket

type Socket = siot.Socket

type SocketID

type SocketID = siot.SocketID

Jump to

Keyboard shortcuts

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