Documentation ¶
Index ¶
- type WireGuard
- func (w *WireGuard) Down() error
- func (w *WireGuard) Info() []byte
- func (w *WireGuard) PostDown() error
- func (w *WireGuard) PostUp() error
- func (w *WireGuard) PreDown() error
- func (w *WireGuard) PreUp() error
- func (w *WireGuard) RealInterface() (string, error)
- func (w *WireGuard) Transfer() (int64, int64, error)
- func (w *WireGuard) Up() error
- func (w *WireGuard) WithConfig(v *types.Config) *WireGuard
- func (w *WireGuard) WithConfigDir(v string) *WireGuard
- func (w *WireGuard) WithInfo(v []byte) *WireGuard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WireGuard ¶
type WireGuard struct {
// contains filtered or unexported fields
}
func NewWireGuard ¶
func NewWireGuard() *WireGuard
func (*WireGuard) RealInterface ¶
func (*WireGuard) WithConfigDir ¶
Click to show internal directories.
Click to hide internal directories.