aboutsummaryrefslogtreecommitdiff
path: root/internal/context
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-04-28 23:26:49 -0400
committerSamuel Johnson <[email protected]>2025-04-28 23:26:49 -0400
commit54309fcde24e6ff49f414519ffb53b9321be4c59 (patch)
treec165e99926da4f1647b581cf1a69ba4b1af59173 /internal/context
parent0b77727cdb52cb22ae55db5b747345c1d89a29d3 (diff)
Create app context struct
Diffstat (limited to 'internal/context')
-rw-r--r--internal/context/environment.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/context/environment.go b/internal/context/environment.go
new file mode 100644
index 0000000..8329ac2
--- /dev/null
+++ b/internal/context/environment.go
@@ -0,0 +1,13 @@
+package context
+
+type DbCredentials struct {
+ Username string
+ Password string
+}
+
+type Environment struct {
+ Webmaster string
+ AppPort uint64
+
+ Db DbCredentials
+}