parser

package
v0.0.0-...-87097d3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HELP  = "help"
	HELLO = "hello"
	BYE   = "bye"
)

available commands

View Source
const (
	JOIN    = "JOIN"
	NICK    = "NICK"
	NOTICE  = "NOTICE"
	PART    = "PART"
	PASS    = "PASS"
	PING    = "PING"
	PONG    = "PONG"
	PRIVMSG = "PRIVMSG"
)

twitch message types

Variables

This section is empty.

Functions

func ParseTwitchMessage

func ParseTwitchMessage(c *websocket.Conn, str string)

Types

type Message

type Message struct {
	Identity string
	Type     string
	Channel  string
	Message  string
}

Jump to

Keyboard shortcuts

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