connections

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConnType

func CheckConnType(c ConnType) error

Types

type ConnType

type ConnType uint8
const (
	Invalid ConnType = iota
	Publish
	Subscribe
)

func NewType

func NewType(c uint) (ConnType, error)

func ParseConnType

func ParseConnType(c string) (ConnType, error)

func (ConnType) String

func (c ConnType) String() string

func (*ConnType) UnmarshalJSON

func (c *ConnType) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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