Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachedStream ¶
type AttachedStream struct {
MessageCh chan *records.ReadRecord
}
type Read ¶
type Read struct {
AttachedClientsMutex *sync.RWMutex
AttachedClients map[string]*AttachedStream
PlumberID string
ReadOptions *opts.ReadOptions
ContextCxl context.Context
CancelFunc context.CancelFunc
Backend backends.Backend
MsgDesc *desc.MessageDescriptor
Log *logrus.Entry
}
type Relay ¶
type Relay struct {
Active bool `json:"-"`
Id string `json:"-"`
CancelCtx context.Context `json:"-"`
CancelFunc context.CancelFunc `json:"-"`
RelayCh chan interface{} `json:"-"`
Backend backends.Backend `json:"-"`
Options *opts.RelayOptions `json:"config"`
// contains filtered or unexported fields
}
func (*Relay) StartRelay ¶
StartRelay starts a configured relay, it's workers, and the GRPC workers
Click to show internal directories.
Click to hide internal directories.