Documentation
¶
Index ¶
- type RPCWorker
- func (w *RPCWorker) Command(c int)
- func (w *RPCWorker) ID() int
- func (w *RPCWorker) Label() string
- func (w *RPCWorker) Run(wg *sync.WaitGroup, term *chan int)
- func (w *RPCWorker) SendTextMessage(ctx context.Context, t *clientapi.TextMessage) (*clientapi.TextMessageResponse, error)
- func (w *RPCWorker) Status(empty *empty.Empty, stream clientapi.ClientService_StatusServer) error
- func (w *RPCWorker) Subscriptions() []*worker.Subscription
- func (w *RPCWorker) Terminate()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCWorker ¶
RPCWorker stream worker
func NewRPCWorker ¶
NewRPCWorker create a new RPCWorker
func (*RPCWorker) SendTextMessage ¶
func (w *RPCWorker) SendTextMessage(ctx context.Context, t *clientapi.TextMessage) (*clientapi.TextMessageResponse, error)
SendTextMessage rpc entry point
func (*RPCWorker) Subscriptions ¶
func (w *RPCWorker) Subscriptions() []*worker.Subscription
Subscriptions return a copy of current scubscriptions
Click to show internal directories.
Click to hide internal directories.