handle_messages

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(msg string)

func SendMessageToGameClient

func SendMessageToGameClient(payload common_types.PayloadFromMessageTwitch)

func StartWebSocketToClient

func StartWebSocketToClient()

func WsEndpoint

func WsEndpoint(w http.ResponseWriter, r *http.Request)

Types

type Message

type Message struct {
	Greeting string `json:"greeting"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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