Documentation ¶
Overview ¶
Package coordinator implements the entry/coordinator server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerClosed = errors.New("coordinator: server closed")
Functions ¶
This section is empty.
Types ¶
type MailboxURL ¶
type MixRound ¶
type MixRound struct { MixSettings mixnet.RoundSettings MixSignatures [][]byte EndTime time.Time }
type PKGRound ¶
type PKGRound struct { Round uint32 PKGSettings pkg.RoundSettings }
type RoundError ¶
type Server ¶
type Server struct { Service string // "AddFriend" or "Dialing" PrivateKey ed25519.PrivateKey Log *log.Logger ConfigClient *config.Client PKGWait time.Duration MixWait time.Duration RoundWait time.Duration NumMailboxes uint32 PersistPath string // contains filtered or unexported fields }
Server is the coordinator (entry) server for the add-friend or dialing protocols. Currently, clients connect to the server using websockets, but this might change if we find that websockets don't work well with long add-friend rounds.
func (*Server) LoadPersistedState ¶
Click to show internal directories.
Click to hide internal directories.