Maintenance: package comments
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Package alpine defines a configurator to interact with the Alpine operating system.
|
||||
package alpine
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package cli defines an interface CLI to run command line operations.
|
||||
package cli
|
||||
|
||||
import (
|
||||
|
||||
3
internal/constants/constants.go
Normal file
3
internal/constants/constants.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// Package constants defines constants shared throughout the program.
|
||||
// It also defines constant maps and slices using functions.
|
||||
package constants
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package dns defines interfaces to interact with DNS and DNS over TLS.
|
||||
package dns
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Package firewall defines a configurator used to change the state
|
||||
// of the firewall as well as do some light routing changes.
|
||||
package firewall
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package healthcheck defines the client and server side of the built in healthcheck.
|
||||
package healthcheck
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package httpproxy defines an interface to run an HTTP(s) proxy server.
|
||||
package httpproxy
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package logging defines helper functions for logging.
|
||||
package logging
|
||||
|
||||
import (
|
||||
|
||||
3
internal/models/models.go
Normal file
3
internal/models/models.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// Package models defines struct with methods shared across other
|
||||
// packages in the program.
|
||||
package models
|
||||
@@ -1,3 +1,5 @@
|
||||
// Package openvpn defines interfaces to interact with openvpn
|
||||
// and run it in a stateful loop.
|
||||
package openvpn
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package provider defines interfaces to interact with each VPN provider.
|
||||
package provider
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package publicip defines interfaces to get your public IP address.
|
||||
package publicip
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package routing defines interfaces to interact with the ip routes using NETLINK.
|
||||
package routing
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package server defines an interface to run the HTTP control server.
|
||||
package server
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package shadowsocks defines interfaces to configure and run a Shadowsocks server.
|
||||
package shadowsocks
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package storage defines interfaces to interact with the files persisted such as the list of servers.
|
||||
package storage
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Package unix defines interfaces to interact with Unix related objects.
|
||||
// Its primary use is to be used in tests.
|
||||
package unix
|
||||
|
||||
import sysunix "golang.org/x/sys/unix"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// Package updater implements update mechanisms for each VPN provider servers.
|
||||
package updater
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// Package version implements functions to fetch information from
|
||||
// Github on newer version of the program available.
|
||||
package version
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user