internal/

directory
v0.0.0-...-4b2ba41 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT

Directories

Path Synopsis
api
Package api implements version 3 of the eduVPN api: https://docs.eduvpn.org/server/v3/api.html
Package api implements version 3 of the eduVPN api: https://docs.eduvpn.org/server/v3/api.html
endpoints
Package endpoints defines a wrapper around the various endpoints returned by an eduVPN server in well-known
Package endpoints defines a wrapper around the various endpoints returned by an eduVPN server in well-known
profiles
Package profiles defines a wrapper around the various profiles returned by the /info endpoint
Package profiles defines a wrapper around the various profiles returned by the /info endpoint
Package atomicfile contains code related to writing to filesystems atomically.
Package atomicfile contains code related to writing to filesystems atomically.
Package config implements functions for saving a struct to a file It then provides functions to later read it such that we can restore the same struct
Package config implements functions for saving a struct to a file It then provides functions to later read it such that we can restore the same struct
v2
Package v2 implements version 2 of the state file
Package v2 implements version 2 of the state file
Package discovery implements the server discovery by contacting disco.eduvpn.org and returning the data as a Go structure
Package discovery implements the server discovery by contacting disco.eduvpn.org and returning the data as a Go structure
Package failover implements the failover procedure by sending pings and checking if the VPN is up
Package failover implements the failover procedure by sending pings and checking if the VPN is up
Package fsm defines a finite state machine
Package fsm defines a finite state machine
Package http defines higher level helpers for the net/http package
Package http defines higher level helpers for the net/http package
Package levenshtein implements the algorithm for calculating the "distance" between two strings
Package levenshtein implements the algorithm for calculating the "distance" between two strings
Package log implements a basic level based logger
Package log implements a basic level based logger
Package server implements functions that have to deal with server interaction
Package server implements functions that have to deal with server interaction
Package test implements utilities for testing
Package test implements utilities for testing
Package verify implement signature verification using minisign
Package verify implement signature verification using minisign
Package version defines a version string that is used for: - building - the user agent - tagging
Package version defines a version string that is used for: - building - the user agent - tagging
Package wireguard implements a few helpers for the WireGuard protocol
Package wireguard implements a few helpers for the WireGuard protocol
ini
Package ini implements an opinionated ini parser that only implements what we exactly need for WireGuard configs - key/values MUST live under a section - empty section names are NOT allowed - comments are indicated with a #
Package ini implements an opinionated ini parser that only implements what we exactly need for WireGuard configs - key/values MUST live under a section - empty section names are NOT allowed - comments are indicated with a #

Jump to

Keyboard shortcuts

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