parser

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessageDetails

func GetMessageDetails(message interface{}) (data interface{}, rid int, cid int, eventname interface{}, error interface{})

Types

type MessageType

type MessageType int
const (
	ISAUTHENTICATED MessageType = iota
	PUBLISH
	REMOVETOKEN
	SETTOKEN
	EVENT
	ACKRECEIVE
)

func Parse

func Parse(rid int, cid int, event interface{}) MessageType

func (MessageType) String

func (i MessageType) String() string

Jump to

Keyboard shortcuts

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