Commit Graph

12 Commits

Author SHA1 Message Date
Ethan Knowlton d9bf3259e0 Added JWT Authentication 2023-10-10 15:52:05 -04:00
Ethan Knowlton 967931fd25 Enable use of Environment Variables
I didn't want to kep the API Key in a file because it could be exposed
so I thought a environment variable would be good. Might of got carried
away and didn't need to put all config options in environment variables.

commit ba35fa73512a5d0d868c9e9147f55fe50db0ec99
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:35:31 2023 -0400

    removed debug statement

commit 3808cc26dfac70e5c205df807b26855bf4562196
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 22:32:27 2023 -0400

    Could Cause Problems

    Shouldn't need to run make as super user, but usually
    you would run `make install`. I could add this to the install step
    and remove the install from all step but it could mess up publishing
    to ip.level.io.

    Just going to remove it for now.

commit aa0cb39b08e71e1ef897f2d3f3a4fc7e5aff4c03
Author: Ethan Knowlton <ethan@dubtown.dev>
Date:   Sat Oct 7 20:05:14 2023 -0400

    adding env variables to readme
2023-10-08 14:46:51 -04:00
Ethan Knowlton 79c8f54d44 Cache in Redis
- [x] Pipeline to update binary on server when changes are pushed
- [x] Added config option for Cache TTL in Seconds in `/etc/echoip/config.toml
- [x] Updated Readme for Cache Options
- [x] Added `Null` cache for optional no use of cache

- [x] Adding Redis Cache
- [x] Moving configuration to file config
- [x] Automatic Release for amd64 linux
- [x] Adding automatic deployment

- Added `LICENSE` file to the release file
2023-10-07 01:21:52 -04:00
Ethan Knowlton 269bf95625 refactor module name to levelsoftware 2023-10-05 11:43:02 -04:00
Ethan Knowlton 6c950e10d3 some refactoring 2023-10-04 14:19:05 -04:00
Ethan Knowlton e766f27d9d seperate parser from code, verify this is working -- then to add ipstack 2023-09-22 14:22:48 -04:00
Martin Polden 92a434d7ea mod: Bump github.com/oschwald/geoip2-golang
Fixes #120
2021-02-24 20:56:36 +01:00
Martin Polden 0caa5873b9 cmd: Remove go-flags 2020-09-05 11:41:18 +02:00
Martin Polden e67f493f51 Bump geoip2 2019-12-25 21:23:46 +01:00
Martin Polden 3901eb7b16 Tidy up modules 2018-09-11 22:06:32 +02:00
Martin Polden a6b0a95581 Bump github.com/oschwald/geoip2-golang 2018-08-27 21:39:21 +02:00
Martin Polden fefe371369 Use Go modules 2018-08-27 21:13:06 +02:00