transmission

package
v0.0.0-...-506d839 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkTransmissionServer

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

func NewNetworkTransmissionServer

func NewNetworkTransmissionServer(
	writeChannel chan models.Message,
	moduleInitChan chan []string,
	moduleCloseChan chan bool,
	commChannels *comm.CommChannels,
	port int,
) *NetworkTransmissionServer

-- CONSTRUCTOR

func (*NetworkTransmissionServer) Coroutine

func (nt *NetworkTransmissionServer) Coroutine(errChan chan error, secure bool)

-- COROUTINE FOR SERVER

func (*NetworkTransmissionServer) Serve

func (nt *NetworkTransmissionServer) Serve(secure bool) error

-- Start Server

func (*NetworkTransmissionServer) Shutdown

func (nt *NetworkTransmissionServer) Shutdown(context context.Context) error

-- Shutdown Server

func (*NetworkTransmissionServer) WebsocketHandler

func (nt *NetworkTransmissionServer) WebsocketHandler(w http.ResponseWriter, req *http.Request)

- TODO: WS REQUEST HANDLER

Jump to

Keyboard shortcuts

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