//
pkg.gl
Category
github.com/AssylzhanZharzhanov/go-shortener
internal
helpers
package
0.0.0-20230119085047-c8e37b0e95ee
Repository:
https://github.com/assylzhanzharzhanov/go-shortener.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
5
Files
50 SLOC
#
Functions
LoadConfig
LoadConfig - reads configuration from the environment variables.
NewResponse
NewResponse - creates a response and send it to client.
#
Constants
ResponseStatusError
Response statuses.
ResponseStatusSuccess
Response statuses.
#
Structs
AppConfig
AppConfig - represents application configuration.
Response
Response - represents the default response.
#
Type aliases
ResponseStatus
ResponseStatus - represents the response status.