inoxdconn

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeMessage

func DecodeMessage(p []byte, ptr any) error

func EncodeMessage

func EncodeMessage(msg Message) ([]byte, error)

func MustEncodeMessage

func MustEncodeMessage(msg Message) []byte

func RegisterTypesInGob

func RegisterTypesInGob()

Types

type Ack

type Ack struct {
	AcknowledgedMessage ulid.ULID
}

type Hello

type Hello struct {
}

type Message

type Message struct {
	ULID  ulid.ULID
	Inner any
}

Jump to

Keyboard shortcuts

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