Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MockMessageReceiver map[string]chan []byte
MockMessageReceiver is a channel that can take []byte messages that will be sent from the mock publisher
Functions ¶
func TurnMockModOff ¶
func TurnMockModOff()
TurnMockModOff will disable the consumer New method to return with Mock struct instead of the real one. This is only for testing purpose!
func TurnMockModOn ¶
func TurnMockModOn()
TurnMockModOn will enable the consumer New method to return with Mock struct instead of the real one. This is only for testing purpose!
Types ¶
type Options ¶
type Options interface {
Configure(config *config)
}
Options is the public interface when working with options
Click to show internal directories.
Click to hide internal directories.