Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = logrus.New()
Logger logs but can be replaced
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router handles all incoming messages and uses storage to reroute those messages
func NewRouter ¶
NewRouter returns a new router that routes messages in/out of messenger based on storage
type RouterConfig ¶
type RouterConfig struct {
TopicNames TopicNames
}
Click to show internal directories.
Click to hide internal directories.