Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromINI ¶ added in v0.16.0
func FromINI(r io.Reader) (conf *latestconfig.Config, err error)
FromINI reads a WireGuard INI configuration from the given reader and returns the equivalent config object. This should only be used for importing existing configurations.
func FromYAML ¶
func FromYAML(r io.Reader) (conf *latestconfig.Config, err error)
FromYAML reads the given reader and returns a config object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.