diff options
author | Runxi Yu <me@runxiyu.org> | 2025-05-02 17:57:56 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-05-02 17:57:56 +0800 |
commit | 1344fc974d77d890d5b1c9721538e0911854fc0c (patch) | |
tree | ab0ad47e77a01c9234ed3048703553c4b075c441 /forged/internal/unsorted/config.go | |
parent | git2c: Some perror (diff) | |
download | forge-1344fc974d77d890d5b1c9721538e0911854fc0c.tar.gz forge-1344fc974d77d890d5b1c9721538e0911854fc0c.tar.zst forge-1344fc974d77d890d5b1c9721538e0911854fc0c.zip |
Diffstat (limited to 'forged/internal/unsorted/config.go')
-rw-r--r-- | forged/internal/unsorted/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/forged/internal/unsorted/config.go b/forged/internal/unsorted/config.go index 9eae13b..9f07480 100644 --- a/forged/internal/unsorted/config.go +++ b/forged/internal/unsorted/config.go @@ -55,6 +55,10 @@ type Config struct { Type string `scfg:"type"` Conn string `scfg:"conn"` } `scfg:"db"` + Pprof struct { + Net string `scfg:"net"` + Addr string `scfg:"addr"` + } `scfg:"pprof"` } // LoadConfig loads a configuration file from the specified path and unmarshals |