configs

package
v0.0.0-...-6f40e4d Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PORT = ":5000"

	/*************** API ENDPOINTS **************/
	LOGIN_ENDPOINT = "http://localhost:5001/account/signin"

	/*********** Authentication configs **********/
	SERVICE_ID = "auth"
	SUBJECT    = "authentication"
	BEARER     = "Bearer"
	//2.5 days
	EXPIRY = 3600
	//5 minutes
	TEMP_EXPIRY        = 5
	AUTH_REGISTER      = "register_user"
	AUTH_AUTHENTICATED = "crud"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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