Documentation ¶
Overview ¶
Package mixnode implements the mix server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MixServer ¶
MixServer is the data of a mix server
func CreateTestMixnode ¶
func NewMixServer ¶
func NewMixServer(id string, host string, port string, prvKey *sphinx.PrivateKey, pubKey *sphinx.PublicKey, layer int, ) (*MixServer, error)
NewMixServer constructor TODO: Identical case to 'NewClient'
type MixServerIt ¶
type MixServerIt interface { networker.NetworkServer networker.NetworkClient GetConfig() config.MixConfig Start() error }
MixServerIt is the interface of a mix server.
Click to show internal directories.
Click to hide internal directories.