handler

package
v0.0.0-...-2bf0c00 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 7 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 {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(upgrader websocket.Upgrader, service chat.UseCase) *Handler

func (*Handler) Broadcast

func (h *Handler) Broadcast()

func (*Handler) ServeWebSocket

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

Jump to

Keyboard shortcuts

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