Documentation ¶
Index ¶
- Constants
- func NewMsgQueue(queueDepth int) *baseMsgQ
- func NewSizeLimitedMsgQueue(size int32) *sizeLimitedMsgQ
- type Accepter
- type BoundedMsgQueue
- type Factory
- func (factory *Factory) BindChannel(ch channel2.Channel) error
- func (factory *Factory) Channel() channel2.Channel
- func (factory *Factory) CreateDialer(optionsData xgress.OptionsData) (xgress.Dialer, error)
- func (factory *Factory) CreateListener(optionsData xgress.OptionsData) (xgress.Listener, error)
- func (factory *Factory) DefaultRequestTimeout() time.Duration
- func (factory *Factory) Enabled() bool
- func (factory *Factory) GetTraceDecoders() []channel2.TraceMessageDecoder
- func (factory *Factory) LoadConfig(configMap map[interface{}]interface{}) error
- func (factory *Factory) NotifyOfReconnect()
- func (factory *Factory) Run(ctrl channel2.Channel, _ boltz.Db, closeNotify chan struct{}) error
- type MsgQueue
- type Options
Constants ¶
View Source
const (
PayloadFlagsHeader uint8 = 0x10
)
Variables ¶
This section is empty.
Functions ¶
func NewMsgQueue ¶ added in v0.17.25
func NewMsgQueue(queueDepth int) *baseMsgQ
func NewSizeLimitedMsgQueue ¶ added in v0.17.25
func NewSizeLimitedMsgQueue(size int32) *sizeLimitedMsgQ
Types ¶
type Accepter ¶
type Accepter struct {
// contains filtered or unexported fields
}
func NewAccepter ¶
func NewAccepter(listener *listener, uListener channel2.UnderlayListener, options *channel2.Options) *Accepter
type BoundedMsgQueue ¶ added in v0.17.25
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(routerConfig *router.Config, versionProvider common.VersionProvider) *Factory
NewFactory constructs a new Edge Xgress Factory instance
func (*Factory) CreateDialer ¶
CreateDialer creates a new Edge Xgress dialer
func (*Factory) CreateListener ¶
CreateListener creates a new Edge Xgress listener
func (*Factory) DefaultRequestTimeout ¶ added in v0.19.0
func (*Factory) GetTraceDecoders ¶ added in v0.19.0
func (factory *Factory) GetTraceDecoders() []channel2.TraceMessageDecoder
func (*Factory) LoadConfig ¶
func (*Factory) NotifyOfReconnect ¶ added in v0.19.0
func (factory *Factory) NotifyOfReconnect()
Click to show internal directories.
Click to hide internal directories.