env

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package env contains all about environment variables, that can be used by current application.

Index

Constants

View Source
const (
	ListenAddr           envVariable = "LISTEN_ADDR"     // IP address for listening
	ListenPort           envVariable = "LISTEN_PORT"     // port number for listening
	Port                 envVariable = "PORT"            // alias for ListenPort
	MaxSessionRequests   envVariable = "MAX_REQUESTS"    // maximum stored requests per session
	SessionTTL           envVariable = "SESSION_TTL"     // session lifetime
	StorageDriverName    envVariable = "STORAGE_DRIVER"  // storage driver name
	PubSubDriver         envVariable = "PUBSUB_DRIVER"   // pub/sub driver name
	WebsocketMaxClients  envVariable = "WS_MAX_CLIENTS"  // maximal websocket clients
	WebsocketMaxLifetime envVariable = "WS_MAX_LIFETIME" // maximal single websocket lifetime
	RedisDSN             envVariable = "REDIS_DSN"       // URL-like redis connection string <https://bit.ly/3maKq4l>
	CreateSessionUUID    envVariable = "CREATE_SESSION"  // Persistent session UUID, issue#160 <https://bit.ly/3Eyfupt>
)

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