Documentation ¶
Index ¶
- type BaseTCPClient
- func (c *BaseTCPClient) Close()
- func (c *BaseTCPClient) Goodbye()
- func (c *BaseTCPClient) Heartbeat()
- func (c *BaseTCPClient) Hello()
- func (c *BaseTCPClient) IO(message tcp.Package, timeout int64) tcp.Package
- func (c *BaseTCPClient) IsActive()
- func (c *BaseTCPClient) Open()
- func (c *BaseTCPClient) Reconnect()
- func (c *BaseTCPClient) Send(message tcp.Package)
- type CloudEventTCPClient
- type CloudEventTCPPubClient
- type CloudEventTCPSubClient
- type EventMeshTCPClient
- type EventMeshTCPPubClient
- type EventMeshTCPSubClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTCPClient ¶
type BaseTCPClient struct {
// contains filtered or unexported fields
}
func NewBaseTCPClient ¶
func NewBaseTCPClient(eventMeshTcpClientConfig conf.EventMeshTCPClientConfig) *BaseTCPClient
func (*BaseTCPClient) Close ¶
func (c *BaseTCPClient) Close()
func (*BaseTCPClient) Goodbye ¶
func (c *BaseTCPClient) Goodbye()
func (*BaseTCPClient) Heartbeat ¶
func (c *BaseTCPClient) Heartbeat()
func (*BaseTCPClient) Hello ¶
func (c *BaseTCPClient) Hello()
func (*BaseTCPClient) IsActive ¶
func (c *BaseTCPClient) IsActive()
func (*BaseTCPClient) Open ¶
func (c *BaseTCPClient) Open()
func (*BaseTCPClient) Reconnect ¶
func (c *BaseTCPClient) Reconnect()
func (*BaseTCPClient) Send ¶
func (c *BaseTCPClient) Send(message tcp.Package)
type CloudEventTCPClient ¶
type CloudEventTCPClient struct {
// contains filtered or unexported fields
}
func NewCloudEventTCPClient ¶
func NewCloudEventTCPClient(eventMeshTcpClientConfig conf.EventMeshTCPClientConfig) *CloudEventTCPClient
func (*CloudEventTCPClient) GetPubClient ¶
func (c *CloudEventTCPClient) GetPubClient() EventMeshTCPPubClient
func (*CloudEventTCPClient) GetSubClient ¶
func (c *CloudEventTCPClient) GetSubClient() EventMeshTCPSubClient
func (*CloudEventTCPClient) Init ¶
func (c *CloudEventTCPClient) Init()
type CloudEventTCPPubClient ¶
type CloudEventTCPPubClient struct {
*BaseTCPClient
}
func NewCloudEventTCPPubClient ¶
func NewCloudEventTCPPubClient(eventMeshTcpClientConfig conf.EventMeshTCPClientConfig) *CloudEventTCPPubClient
type CloudEventTCPSubClient ¶
type CloudEventTCPSubClient struct {
*BaseTCPClient
}
func NewCloudEventTCPSubClient ¶
func NewCloudEventTCPSubClient(eventMeshTcpClientConfig conf.EventMeshTCPClientConfig) *CloudEventTCPSubClient
type EventMeshTCPClient ¶
type EventMeshTCPClient interface { Init() Publish(msg interface{}, timeout int64) gtcp.Package GetPubClient() EventMeshTCPPubClient GetSubClient() EventMeshTCPSubClient }
func CreateEventMeshTCPClient ¶
func CreateEventMeshTCPClient(eventMeshTcpClientConfig conf.EventMeshTCPClientConfig, messageType protocol.MessageType) EventMeshTCPClient
type EventMeshTCPPubClient ¶
type EventMeshTCPPubClient interface {
// contains filtered or unexported methods
}
type EventMeshTCPSubClient ¶
type EventMeshTCPSubClient interface {
// contains filtered or unexported methods
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.