web

command
v0.0.0-...-13156d4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: MIT Imports: 19 Imported by: 0

README

HTTP Server

Run locally

  • Install dep
  • Run the following commands:
dep init
dep ensure
USERPASSWD="userpassword" ENCRYPTION_KEY="the-key-has-to-be-32-bytes-long!" go run main.go

The following environment variables are accepted:

# mandatory variables
export USERPASSWD="userpassword"
export ENCRYPTION_KEY="the-key-has-to-be-32-bytes-long!"

# non-mandatory variables
export PUBLIC_HTML="public"
export PORT="8081"
export MONGODB_URI="mongodb://127.0.0.1:27017/db"

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