conf

package
v0.0.0-...-bc70bdb Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigFile string
	ListenAddr string
	ServerAddr string
	Psk        string
	GenPsk     bool
	Version    bool
)

Functions

func InitConf

func InitConf(secName string)

func InitConfC

func InitConfC()

func InitConfS

func InitConfS()

Types

type Config

type Config struct {
	ListenAddr string
	RemoteAddr string
	Password   string
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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