gowarp

module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MIT

README

gowarp

An app to generate Clodflare WARP+ keys, store them in a database and get as you need.

How to run

Makefile contains the commands for both building and running the project. Before running, you should consider looking at .env-example file which has an example of the environment variables that need to be set before running the project.

To start the server, run:

make run_serve

To start the cli app, run:

make run_cli

The application expects the working directory to be the root of the project. If it is not, it will error and exit on startup because of inability to load assets from the ./assets folder.

Database

The project only supports working with MongoDB and thus expects you to provide both the database name and collection name which will later be used to store the generated keys.

Testing

As of now, no tests are included, but later on I might add some.

Directories

Path Synopsis
cmd
cli
internal
pkg

Jump to

Keyboard shortcuts

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