Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "proxy"
Variables ¶
View Source
var DefaultConfig = Config{}
DefaultConfig is the default configuration.
Functions ¶
Types ¶
type Config ¶
type Config struct { }
Config is the configuration for the proxy plugin.
func (*Config) UnmarshalYAML ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func (*Consumer) DequeueMessagesAndSendToBroker ¶
func (c *Consumer) DequeueMessagesAndSendToBroker()
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
func NewHTTPHandler ¶
func NewHTTPHandler(p *Proxy) *HTTPHandler
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) HookWrapper ¶
func (p *Proxy) HookWrapper() server.HookWrapper
func (*Proxy) OnMsgArrivedWrapper ¶
func (p *Proxy) OnMsgArrivedWrapper(pre server.OnMsgArrived) server.OnMsgArrived
type Semaphore ¶
type Semaphore struct {
// contains filtered or unexported fields
}
func NewSemaphore ¶
func NewSemaphore() *Semaphore
Click to show internal directories.
Click to hide internal directories.