config

package
v0.0.0-...-e749f68 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateConfig

func ValidateConfig(conf *Config) error

Types

type Config

type Config struct {
	ConfigVersion uint64            `json:"config_version"`
	Firewall      firewall.Firewall `json:"firewall"`
	Object        object.Object     `json:"object"`
	Network       network.Network   `json:"network"`
	Service       service.Service   `json:"service"`
	VPN           vpn.VPN           `json:"vpn"`
	System        system.System     `json:"system"`
}

func (*Config) Clone

func (c *Config) Clone() *Config

Clone TODO find a better way to deep copy

Jump to

Keyboard shortcuts

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