diff options
| author | Bobby <[email protected]> | 2026-01-20 14:22:24 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-01-20 14:22:24 +0530 |
| commit | 2a513445a50bbe0d3a5cb13784c8ed68e1c367fa (patch) | |
| tree | da67de8714927f523612882f0ba4787d94efa078 /config/config.go | |
| parent | a04faab2a7c031b95e6e7553f9921c3bada2bc08 (diff) | |
| download | cafe-2a513445a50bbe0d3a5cb13784c8ed68e1c367fa.tar.xz cafe-2a513445a50bbe0d3a5cb13784c8ed68e1c367fa.zip | |
Add session management with PostgreSQL storage and utility functions
Diffstat (limited to 'config/config.go')
| -rw-r--r-- | config/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 293a135..41b0f5a 100644 --- a/config/config.go +++ b/config/config.go @@ -10,6 +10,7 @@ import ( var ( Server server Database database + Session session ) func init() { @@ -24,4 +25,8 @@ func init() { if err := env.Parse(&Database); err != nil { log.Fatalf("Failed to parse DatabaseConfig: %v", err) } + + if err := env.Parse(&Session); err != nil { + log.Fatalf("Failed to parse SessionConfig: %v", err) + } } |
