live

package
v0.0.0-...-07083df Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrotliDecompress

func BrotliDecompress(data []byte) ([]byte, error)

BrotliDecompress decompress the brotli data that received from the WebSocket.

func MessageID

func MessageID() string

MessageID used to generate a unique message ID for each message that is platform-specific, only used in MissEvan.

func SafeMessage

func SafeMessage(msg string) string

SafeMessage is used to add zero-width space between each character that avoid being blocked.

Types

This section is empty.

Jump to

Keyboard shortcuts

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