Discover Packages
github.com/WreckingBallStudioLabs/pubsub
message
package
Version:
v1.0.18
Opens a new window with list of versions in this module.
Published: Apr 12, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package message provides everything related to messages.
type Message struct {
common .Common
Data any `json:"data" validate:"required" id:"uuid"`
Topic string `json:"topic"`
}
Message definition.
MustNew creates a new message, panicking if there's an error.
New creates a new message.
Process the content of the message `b` into `v`.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.