Use rpcxlite

This commit is contained in:
2022-04-30 03:25:27 -07:00
parent 625805fe96
commit 240e7a5ee4
5 changed files with 48 additions and 575 deletions

View File

@@ -26,6 +26,8 @@ import (
"strconv"
"time"
rpcxlog "github.com/smallnest/rpcxlite/log"
"github.com/gen2brain/dlgs"
"github.com/knadh/koanf"
"github.com/mattn/go-isatty"
@@ -34,6 +36,11 @@ import (
"go.arsenm.dev/infinitime"
)
func init() {
// Disable rpcxlite logging
rpcxlog.SetDummyLogger()
}
var k = koanf.New(".")
//go:embed version.txt