cmdconf

package
v0.0.0-...-4e8f7d9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: AGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoordinatorConfig

type CoordinatorConfig struct {
	PublicKey  ed25519.PublicKey
	PrivateKey ed25519.PrivateKey

	ListenAddr string

	RoundDelay time.Duration
}

func NewCoordinatorConfig

func NewCoordinatorConfig() *CoordinatorConfig

func (*CoordinatorConfig) TOML

func (c *CoordinatorConfig) TOML() []byte

type MixerConfig

type MixerConfig struct {
	PublicKey  ed25519.PublicKey
	PrivateKey ed25519.PrivateKey

	ListenAddr string
	DebugAddr  string

	Noise rand.Laplace
}

func NewMixerConfig

func NewMixerConfig() *MixerConfig

func (*MixerConfig) TOML

func (c *MixerConfig) TOML() []byte

Jump to

Keyboard shortcuts

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