Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishMessage ¶
PublishMessage serializes the message in JSON and sends to the topic.
Types ¶
type Config ¶
type Config struct { Host string `yaml:"host" mapstructure:"nats.host"` Port int `yaml:"port" mapstructure:"nats.port"` User string `yaml:"user" mapstructure:"nats.user"` Password string `yaml:"password" mapstructure:"nats.password"` }
Config is configuration for the interaction with the NATS server.
Click to show internal directories.
Click to hide internal directories.