package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: May 26, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package json provides typed-handler wrappers that automatically encode
and decode message payloads using encoding/json.
Encode marshals body to JSON and returns the bytes ready for
tickr.Message.Payload. Convenience wrapper around encoding/json.Marshal.
Wrap converts a typed Handler[T] into a tickr.Handler that decodes
msg.Payload via encoding/json before invoking h.
Handler is the typed handler signature.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.