summaryrefslogtreecommitdiff
path: root/internal/io/dlog/source.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-02 11:23:08 +0300
committerPaul Buetow <paul@buetow.org>2021-10-02 12:26:36 +0300
commit6e1af993924bc7bebe898b403962db5a6b3505d1 (patch)
treee4f124dfc917bc96a669e8598400775b2ca5fc25 /internal/io/dlog/source.go
parent764ef99a3d779a0db1fb60679292af52425ba2f6 (diff)
Client default log dir is ~/log
Diffstat (limited to 'internal/io/dlog/source.go')
-rw-r--r--internal/io/dlog/source.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/internal/io/dlog/source.go b/internal/io/dlog/source.go
deleted file mode 100644
index 265885e..0000000
--- a/internal/io/dlog/source.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package dlog
-
-type source int
-
-const (
- CLIENT source = iota
- SERVER source = iota
-)
-
-func (s source) String() string {
- switch s {
- case CLIENT:
- return "CLIENT"
- case SERVER:
- return "SERVER"
- }
-
- panic("Unknown log source type")
-}