From 1f5717031ac2b56301092e9a090b78a2ff55480a Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Fri, 28 Nov 2025 11:46:53 -0800 Subject: 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 --- internal/mobius/transaction_handlers.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal') 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))) } -- cgit