ovpn

package
v0.0.0-...-0902aac Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientConfig

func GetClientConfig(w io.Writer, data ConfigData) error

func GetServerConfig

func GetServerConfig(w io.Writer, data ConfigData) error

Types

type ConfigData

type ConfigData struct {
	Certificate *x509.Certificate

	CACert     *x509.Certificate
	PrevCACert *x509.Certificate
	CrossCert  *x509.Certificate

	StaticKey pki.StaticKey
}

Jump to

Keyboard shortcuts

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