server

package
v0.0.0-...-7e93f8a Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) Broadcast

func (s *Server) Broadcast(b []byte)

func (*Server) Disconnect

func (s *Server) Disconnect(ws *websocket.Conn)

func (*Server) HandleWs

func (s *Server) HandleWs(ws *websocket.Conn)

func (*Server) ReadLoop

func (s *Server) ReadLoop(ws *websocket.Conn)

Jump to

Keyboard shortcuts

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