aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2025-11-28 11:46:53 -0800
committerJeff Halter <868228+jhalter@users.noreply.github.com>2025-11-28 11:46:53 -0800
commit1f5717031ac2b56301092e9a090b78a2ff55480a (patch)
treefc8a8c5a7b67c16e32ad5ea4790419721d7232c1 /internal
parent8ddb9bb228389b198a76d6df21de005da4fad66b (diff)
Mobius client library quality of life improvements
- Introduce Logger interface to replace direct slog dependency in Client - Implement Write methods for NewsArtListData and NewsCategoryListData15 with support for partial/chunked writes - Enhance transaction logging with human-readable type names
Diffstat (limited to 'internal')
-rw-r--r--internal/mobius/transaction_handlers.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/mobius/transaction_handlers.go b/internal/mobius/transaction_handlers.go
index 20a315d..736f478 100644
--- a/internal/mobius/transaction_handlers.go
+++ b/internal/mobius/transaction_handlers.go
@@ -14,6 +14,7 @@ import (
"strings"
"time"
+ "github.com/davecgh/go-spew/spew"
"github.com/jhalter/mobius/hotline"
"golang.org/x/text/encoding/charmap"
)
@@ -1323,6 +1324,8 @@ func HandleGetNewsArtNameList(cc *hotline.ClientConn, t *hotline.Transaction) (r
return res
}
+ spew.Dump(nald)
+
return append(res, cc.NewReply(t, hotline.NewField(hotline.FieldNewsArtListData, b)))
}