websocket

package
v0.0.0-...-2834ed4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Hostname    string
	StreamName  string
	RedisClient *redis.Client
}

func (*Handler) SocketHandler

func (h *Handler) SocketHandler(w http.ResponseWriter, r *http.Request)

SocketHandler echos websocket messages back to the client.

Jump to

Keyboard shortcuts

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