server

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	proto.UnimplementedSignalExchangeServer
	// contains filtered or unexported fields
}

Server an instance of a Signal server

func NewServer

func NewServer() *Server

NewServer creates a new Signal server

func (*Server) ConnectStream

func (s *Server) ConnectStream(stream proto.SignalExchange_ConnectStreamServer) error

ConnectStream connects to the exchange stream

func (*Server) Send

Send forwards a message to the signal peer

Jump to

Keyboard shortcuts

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