server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHub

type MessageHub struct {
	Broadcast chan string
	// contains filtered or unexported fields
}

func NewHub

func NewHub() *MessageHub

func (*MessageHub) Handler

func (hub *MessageHub) Handler(conn *websocket.Conn)

func (*MessageHub) Run

func (hub *MessageHub) Run()

type SEBRAUCServer

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

func NewServer

func NewServer(address string) *SEBRAUCServer

func (*SEBRAUCServer) Run

func (srv *SEBRAUCServer) Run() error

Jump to

Keyboard shortcuts

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