diff options
author | tv <tv@krebsco.de> | 2020-09-29 22:27:04 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-09-29 22:28:58 +0200 |
commit | bc75dbe4a72210352c2b1c0983b35658d307dca5 (patch) | |
tree | 5357f1efcb00e6920cece7b3cd3714d6c487cbbb /src/Much/API | |
parent | eb61952f07e04e60a27a82783569fb65b6281789 (diff) |
Much.API: make socket configurable
Diffstat (limited to 'src/Much/API')
-rw-r--r-- | src/Much/API/Config.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Much/API/Config.hs b/src/Much/API/Config.hs new file mode 100644 index 0000000..2e3b1cc --- /dev/null +++ b/src/Much/API/Config.hs @@ -0,0 +1,11 @@ +module Much.API.Config where + +data Config = Config + { socketPath :: FilePath + } + +emptyConfig :: Config +emptyConfig = + Config + { socketPath = "/tmp/much.api.sock" + } |