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
|
package alpine
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package cli defines an interface CLI to run command line operations.
|
||||||
package cli
|
package cli
|
||||||
|
|
||||||
import (
|
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
|
package dns
|
||||||
|
|
||||||
import (
|
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
|
package firewall
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package healthcheck defines the client and server side of the built in healthcheck.
|
||||||
package healthcheck
|
package healthcheck
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package httpproxy defines an interface to run an HTTP(s) proxy server.
|
||||||
package httpproxy
|
package httpproxy
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package logging defines helper functions for logging.
|
||||||
package logging
|
package logging
|
||||||
|
|
||||||
import (
|
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
|
package openvpn
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package provider defines interfaces to interact with each VPN provider.
|
||||||
package provider
|
package provider
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package publicip defines interfaces to get your public IP address.
|
||||||
package publicip
|
package publicip
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package routing defines interfaces to interact with the ip routes using NETLINK.
|
||||||
package routing
|
package routing
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package server defines an interface to run the HTTP control server.
|
||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package shadowsocks defines interfaces to configure and run a Shadowsocks server.
|
||||||
package shadowsocks
|
package shadowsocks
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package storage defines interfaces to interact with the files persisted such as the list of servers.
|
||||||
package storage
|
package storage
|
||||||
|
|
||||||
import (
|
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
|
package unix
|
||||||
|
|
||||||
import sysunix "golang.org/x/sys/unix"
|
import sysunix "golang.org/x/sys/unix"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// Package updater implements update mechanisms for each VPN provider servers.
|
||||||
package updater
|
package updater
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Package version implements functions to fetch information from
|
||||||
|
// Github on newer version of the program available.
|
||||||
package version
|
package version
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user