diff options
Diffstat (limited to 'src/conn/config.zig')
-rw-r--r-- | src/conn/config.zig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/conn/config.zig b/src/conn/config.zig new file mode 100644 index 0000000..b4e7cff --- /dev/null +++ b/src/conn/config.zig @@ -0,0 +1,13 @@ +const std = @import("std"); +const SSHashMap = std.StringHashMap([]const u8); + +const Config = @This(); + +allocator: std.mem.Allocator, +address: union(enum){ + net: std.net.Address, + unix: []const u8, +}, +database: ?[]const u8 = null, +user: []const u8, +password: ?[]const u8 = null, |