auth-service

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

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

Go to latest
Published: Dec 2, 2018 License: MIT Imports: 10 Imported by: 0

README

auth-service

Example REST service for managing and authenticating users, written in Go using Chi.

Configuration

Environment Variables
AUTH_SERVICE_ENVIRONMENT

Controls log levels and configuration defaults.

  • DEV
  • PRE_PROD
  • PROD
AUTH_SERVICE_REPO_TYPE
  • IN_MEMORY
  • POSTGRESQL
    • AUTH_SERVICE_PG_URL - Full connection string for PG
AUTH_SERVICE_TIMEOUT

Incoming request timeout value in seconds.

AUTH_SERVICE_PORT

Port to run service on.

Run

go run main.go

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