package
0.0.0-20240208133358-b46fc268ba2c
Repository: https://github.com/diptanw/go-toolkit.git
Documentation: pkg.go.dev
# Functions
New returns a new instance of Server.
NewStreamReader returns a new instance of StreamReader.
# Structs
Message is a message struct to be received/published.
Server is a wrapper for server listener.
StreamReader is the server listener that reads messages from the byte stream provided by io.Reader.
# Interfaces
Listener is an interface for server listener.
# Type aliases
Handler is a callback function to process messages from io.Reader.