signaling

package
v0.0.0-...-9e15587 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(file File)

Types

type File

type File struct {
	Name    string `json:"name"`
	Payload []byte `json:"payload"`
}

type SignalingClient

type SignalingClient struct{}

func NewSignalingClient

func NewSignalingClient() *SignalingClient

func (*SignalingClient) HandleConn

func (s *SignalingClient) HandleConn(laddrKey string, communityKey string, filename string, file []byte) []byte

type SignalingServer

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

func NewSignalingServer

func NewSignalingServer() *SignalingServer

func (*SignalingServer) Close

func (s *SignalingServer) Close() []error

func (*SignalingServer) HandleConn

func (s *SignalingServer) HandleConn(conn websocket.Conn)

Jump to

Keyboard shortcuts

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