internal/

directory
v0.0.0-...-f308040 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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 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
atomicfile
Package atomicfile contains code related to writing to filesystems atomically.
Package atomicfile contains code related to writing to filesystems atomically.
v1
Package v1 implements a minimum set of the v1 config to convert it to a v2 config In version 1 of the config we used the internal state as the config This was bad as now if we want to change some internal representation the config also changes This package can be removed when most people have migrated from v1 to v2
Package v1 implements a minimum set of the v1 config to convert it to a v2 config In version 1 of the config we used the internal state as the config This was bad as now if we want to change some internal representation the config also changes This package can be removed when most people have migrated from v1 to v2
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 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 util implements several utility functions that are used across the codebase
Package util implements several utility functions that are used across the codebase
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
JackTT - Gopher 🇻🇳