blob: 3f577d17f652b8489892d2efa16a7efa3ed57f00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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, // std.net.Address looks like it handles unix sockets but it doesn't really.
},
database: ?[]const u8 = null,
user: []const u8,
password: ?[]const u8 = null,
|