Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
Handlers is a map of event queues, one for each topic as well as one for non-blocking requests.
func NewHandlers ¶
NewHandlers returns a new instance of *Handlers.
func (*Handlers) PushRequest ¶
func (h *Handlers) PushRequest(ctx context.Context, req *protocol.Request) (*protocol.Response, error)
PushRequest implements transport.RequestHandler.
Click to show internal directories.
Click to hide internal directories.