Documentation ¶
Index ¶
- func ClientWithError(err error) *http.Client
- func ClientWithResponseCode(responseCode int) *http.Client
- type Dispatcher
- func (m *Dispatcher) Send(notification dispatch.Notification)
- func (m *Dispatcher) Start()
- func (m *Dispatcher) Stop()
- func (m *Dispatcher) Subscribe(address string, subType string, monitoring bool) dispatch.Subscriber
- func (m *Dispatcher) Subscribers() []dispatch.Subscriber
- func (m *Dispatcher) Unsubscribe(s dispatch.Subscriber)
- type KafkaConsumer
- type KeyValidator
- type ShutdownReg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientWithError ¶
func ClientWithResponseCode ¶
Types ¶
type Dispatcher ¶
func (*Dispatcher) Send ¶
func (m *Dispatcher) Send(notification dispatch.Notification)
func (*Dispatcher) Start ¶
func (m *Dispatcher) Start()
func (*Dispatcher) Stop ¶
func (m *Dispatcher) Stop()
func (*Dispatcher) Subscribe ¶
func (m *Dispatcher) Subscribe(address string, subType string, monitoring bool) dispatch.Subscriber
func (*Dispatcher) Subscribers ¶
func (m *Dispatcher) Subscribers() []dispatch.Subscriber
func (*Dispatcher) Unsubscribe ¶
func (m *Dispatcher) Unsubscribe(s dispatch.Subscriber)
type KafkaConsumer ¶
type KafkaConsumer struct {
ConnectivityCheckF func() error
}
func (*KafkaConsumer) ConnectivityCheck ¶
func (c *KafkaConsumer) ConnectivityCheck() error
type KeyValidator ¶
type ShutdownReg ¶
func NewShutdownReg ¶
func NewShutdownReg() *ShutdownReg
func (*ShutdownReg) RegisterOnShutdown ¶
func (r *ShutdownReg) RegisterOnShutdown(f func())
func (*ShutdownReg) Shutdown ¶
func (r *ShutdownReg) Shutdown()
Click to show internal directories.
Click to hide internal directories.