egtann / lanhttp

communicate over your own LAN and WAN without needing custom DNS or server configs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lanhttp

lanhttp wraps http.Client to automatically route internal traffic (denoted by *.internal) URLs to internal endpoints, and route other traffic normally over the internet. This is an alternative to consul and other DNS-level routing.

It distributes traffic randomly among the internal IPs.

Usage

import "egt.run/lanhttp"

About

communicate over your own LAN and WAN without needing custom DNS or server configs

License:ISC License


Languages

Language:Go 100.0%