internal/

directory
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: GPL-3.0

Directories

Path Synopsis
Package adminserver is the network module's admin-side management of the servers and nodes: their creation, updates and removal, their sort order, the protocols a server offers and its node configuration overrides, and the node-facing caches these changes invalidate.
Package adminserver is the network module's admin-side management of the servers and nodes: their creation, updates and removal, their sort order, the protocols a server offers and its node configuration overrides, and the node-facing caches these changes invalidate.
Package edge is the network module's edge subdomain: the manifest a trusted edge-subscribe Worker fetches for a subscription token, listing the subscription's state and the proxies of its plan's nodes.
Package edge is the network module's edge subdomain: the manifest a trusted edge-subscribe Worker fetches for a subscription token, listing the subscription's state and the proxies of its plan's nodes.
Package edgeauth authenticates Cloudflare edge-subscribe Workers.
Package edgeauth authenticates Cloudflare edge-subscribe Workers.
Package geolocation locates a server address through public IP geolocation services, filling in a server's country and city.
Package geolocation locates a server address through public IP geolocation services, filling in a server's country and city.
Package multiplier applies the node traffic multipliers an administrator sets for times of day.
Package multiplier applies the node traffic multipliers an administrator sets for times of day.
Package nodeconfig resolves the node configuration a server's nodes run with: the global node settings and the server's override of them, whose fields each either inherit (NULL) or replace a global value.
Package nodeconfig resolves the node configuration a server's nodes run with: the global node settings and the server's override of them, whose fields each either inherit (NULL) or replace a global value.
Package protocolmap is the one mapping between a server protocol as stored (node.Protocol, the servers.protocols JSON) and as the API shows it (dto.Protocol).
Package protocolmap is the one mapping between a server protocol as stored (node.Protocol, the servers.protocols JSON) and as the API shows it (dto.Protocol).
Package repo holds the network module's repository implementations: the servers and nodes with their Redis caches, and the traffic log.
Package repo holds the network module's repository implementations: the servers and nodes with their Redis caches, and the traffic log.
Package serverapi is the network module's node-facing server API: the configuration and user lists the nodes pull, cached per server and negotiated with ETags, and the status, online-user and traffic reports they push.
Package serverapi is the network module's node-facing server API: the configuration and user lists the nodes pull, cached per server and negotiated with ETags, and the status, online-user and traffic reports they push.
Package trafficagg is the network module's traffic pipeline.
Package trafficagg is the network module's traffic pipeline.
Package trafficstat keeps the records derived from the raw traffic log: the daily traffic statistics the dashboard and the admin log views read, and the retention of the raw log itself.
Package trafficstat keeps the records derived from the raw traffic log: the daily traffic statistics the dashboard and the admin log views read, and the retention of the raw log itself.

Jump to

Keyboard shortcuts

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