conf

package
v0.0.0-...-5028ebd Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	ID:            "",
	ClientOnly:    false,
	PKFile:        "SealP2PPK",
	ServerPort:    3333,
	MulticastAddr: "224.0.0.3",
	MulticastPort: 5678,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	ID         string
	ClientOnly bool
	PKFile     string

	ServerPort    int
	MulticastAddr string
	MulticastPort int
}

func (Config) Clone

func (c Config) Clone(id string) *Config

Jump to

Keyboard shortcuts

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