ipstash

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

README

ipstash

Stores the IP address of the vm/machine in a redis channel (ipstash), so that it can be used by other services.

Usage

Envriorment variables:

REDIS_URL = 'redis://localhost:6379'
IPSTASH_CHANNEL = 'ipstash'
IP_FETCH_URL = 'http://ipinfo.io/ip'
$ ipstash

Getting started

This project requires Go to be installed. On OS X with Homebrew you can just run brew install go.

Running it then should be as simple as:

$ make
$ ./bin/ipstash
Testing

make test

License

ipstash is Copyright © 2023 Bit Zesty. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About Bit Zesty

Bit Zesty

ipstash is maintained by Bit Zesty Limited. The names and logos for Bit Zesty are trademarks of Bit Zesty Limited.

See our other projects or hire us to design, develop, and support your product or service.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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