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 (*Server) ConnectStream ¶
func (s *Server) ConnectStream(stream proto.SignalExchange_ConnectStreamServer) error
ConnectStream connects to the exchange stream
func (*Server) Send ¶
func (s *Server) Send(ctx context.Context, msg *proto.EncryptedMessage) (*proto.EncryptedMessage, error)
Send forwards a message to the signal peer
Click to show internal directories.
Click to hide internal directories.