ipecho

command module
v0.0.0-...-ee577ab Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 9 Imported by: 0

README

ipecho

Simple micro service returning the caller's IP over http (intended for dynamic dns use cases). An example DynDNS client can be found here: https://github.com/AwareRO/owndyndns.

build

go build ipecho.go

configure

# edit backend.toml.sample
mkdir /etc/ipecho
cp backend.toml.sample /etc/ipecho/backend.toml

run

./ipecho [custom-config.toml]

deploy

# build
cp ipecho /usr/bin
cp ipecho.service /etc/systemd/system
systemctl daemon-reload
systemctl enable ipecho
systemctl start ipecho

logs (when running via systemd)

journalctl -f -u ipecho

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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