aboutsummaryrefslogtreecommitdiff
path: root/src/config.zig
blob: b4e7cff5a258e348a8192b6609d8a4825a2ed7e9 (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,
},
database: ?[]const u8 = null,
user: []const u8,
password: ?[]const u8 = null,