Documentation ¶
Index ¶
- Constants
- type BConfig
- type Bridge
- type Broker
- type Client
- type Cluster
- type Config
- type ConnStatus
- type ConnType
- type Connection
- type DeliverMap
- type Etcd
- type GRPC
- type HTTP
- type InflightPacket
- type Kafka
- type Mode
- type Owner
- type Peer
- type Proxy
- type Receiver
- type ReceiverConfig
- type Sender
- type SenderConfig
- type Serve
- type Session
- type SessionConfig
- type TCP
- type TLS
- type TopicType
- type WS
- type WSS
Constants ¶
View Source
const ( SUB = "1" PUB = "2" )
View Source
const ( MWC = "#" SWC = "+" )
View Source
const ( QosAtMostOnce = 0x00 QosAtLeastOnce = 0x01 QosExactlyOnce = 0x02 QosFailure = 0x80 QosMax = 0x01 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) ReadPacket ¶
type Config ¶
type ConnStatus ¶
type ConnStatus int32
const ( ConnStatusInit ConnStatus = 0 ConnStatusConnecting ConnStatus = 1 ConnStatusConnected ConnStatus = 2 ConnStatusBroken ConnStatus = 3 ConnStatusClosed ConnStatus = 4 )
type Connection ¶
type Connection struct {
Max uint64
}
type DeliverMap ¶
type InflightPacket ¶
type InflightPacket struct { Packet packets.ControlPacket Time time.Time }
type Receiver ¶
type Receiver struct { Client ReceiverConfig Peer ReceiverConfig }
type ReceiverConfig ¶
type ReceiverConfig struct {
RecvChan int
}
type Sender ¶
type Sender struct { Retry int Timeout int Client SenderConfig Peer SenderConfig }
type SenderConfig ¶
type Session ¶
type Session struct { Client SessionConfig Peer SessionConfig }
type SessionConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.