diff options
| author | Bobby <[email protected]> | 2026-01-20 14:19:25 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-01-20 14:19:25 +0530 |
| commit | a04faab2a7c031b95e6e7553f9921c3bada2bc08 (patch) | |
| tree | 91c77399eac06aeb7417ed367123321f223bcfd7 /config | |
| parent | 97459ee6173299aa352ac29b2a77dd8df7e3ab3d (diff) | |
| download | cafe-a04faab2a7c031b95e6e7553f9921c3bada2bc08.tar.xz cafe-a04faab2a7c031b95e6e7553f9921c3bada2bc08.zip | |
Implemented processors and add HTTPRequest and HTTPQueryParam types and Created utility functions for building request metadata.
Diffstat (limited to 'config')
| -rw-r--r-- | config/env.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/env.go b/config/env.go index 4e6b50f..dd9eb70 100644 --- a/config/env.go +++ b/config/env.go @@ -1,10 +1,12 @@ package config type server struct { - Host string `env:"SERVER_HOST" default:"localhost"` - Port int `env:"SERVER_PORT" default:"8080"` - AppSecret string `env:"APP_SECRET" default:"mysecret"` - DevMode bool `env:"DEV_MODE" default:"true"` + Host string `env:"SERVER_HOST" default:"localhost"` + Port int `env:"SERVER_PORT" default:"8080"` + AppSecret string `env:"APP_SECRET" default:"mysecret"` + AppName string `env:"APP_NAME" default:"Shifoo's Cafe"` + AppDescription string `env:"APP_DESCRIPTION" default:"A cozy place for close friends"` + DevMode bool `env:"DEV_MODE" default:"true"` } type database struct { |
