Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoServer ¶
type DiscoServer struct {
// contains filtered or unexported fields
}
DiscoServer is a peer-discovery and webrtc-signaling service for Babble. Peer-discovery enables users to advertise groups that other people can join and is exposed over a regular HTTP REST API. WebRTC-signaling enables users to exchange connection metadata (SDP) to create direct p2p connections, and relies on the WAMP protocol which is basically RPC over web-sockets.
func NewDiscoServer ¶
func NewDiscoServer( repo group.GroupRepository, certFile string, keyFile string, logger *logrus.Entry, ) *DiscoServer
NewDiscoServer instantiates a new DiscoServer with a GroupRepository.
Click to show internal directories.
Click to hide internal directories.