wsserver

package
v0.0.0-...-ecaa456 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACTION_FUNC

type ACTION_FUNC func(string, string)

type Server

type Server struct {
	UIConn  *websocket.Conn
	Mux     sync.Mutex
	Actions map[int]ACTION_FUNC
	Data    <-chan *drpc.DPointers
	Blocks  <-chan []string
	// contains filtered or unexported fields
}

func (*Server) InitAndServe

func (s *Server) InitAndServe(actions map[int]ACTION_FUNC, data <-chan *drpc.DPointers, blocks <-chan []string, port int)

Jump to

Keyboard shortcuts

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