Documentation ¶
Index ¶
- type ClientDataTime
- type Forwarder
- func (f *Forwarder) Close()
- func (f *Forwarder) CloseClient(pcID string) bool
- func (f *Forwarder) GetClient(pcID string) *FwdClient
- func (f *Forwarder) GetLastTimeReceive() map[string]int64
- func (f *Forwarder) GetLastTimeReceiveBy(trackID string) int64
- func (f *Forwarder) Push(trackID string, data []byte) error
- func (f *Forwarder) Register(pcID string, trackID string) (<-chan *message.Message, error)
- func (f *Forwarder) UnRegister(pcID string, trackID string) bool
- type FwdClient
- type FwdLog
- func (l *FwdLog) Debug(msg string, fields watermill.LogFields)
- func (l *FwdLog) Error(msg string, err error, fields watermill.LogFields)
- func (l *FwdLog) Info(msg string, fields watermill.LogFields)
- func (l *FwdLog) Trace(msg string, fields watermill.LogFields)
- func (l *FwdLog) With(fields watermill.LogFields) watermill.LoggerAdapter
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientDataTime ¶
type ClientDataTime struct {
// contains filtered or unexported fields
}
ClientDataTime linter
type Forwarder ¶
type Forwarder struct {
// contains filtered or unexported fields
}
Forwarder linter
func (*Forwarder) CloseClient ¶
func (*Forwarder) GetLastTimeReceive ¶
GetLastTimeReceive linter
func (*Forwarder) GetLastTimeReceiveBy ¶
GetLastTimeReceiveBy linter
type FwdClient ¶
type FwdClient struct {
// contains filtered or unexported fields
}
FwdClient linter
func NewFwdClient ¶
func (*FwdClient) UnRegister ¶
Click to show internal directories.
Click to hide internal directories.