Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKnownPacket ¶
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func NewDispatcher ¶
func NewDispatcher(options DispatcherOptions) *Dispatcher
func (*Dispatcher) ChildSpec ¶
func (p *Dispatcher) ChildSpec() oversight.ChildProcessSpecification
func (*Dispatcher) HandleGCPacket ¶
func (p *Dispatcher) HandleGCPacket(packet *gc.GCPacket)
HandleGCPacket implements the steam.GCPacketHandler interface.
It runs in the steam client goroutine.
It's not possible to de-register this handler once registered, so the owner must be long lived.
type DispatcherOptions ¶
type IncomingMessage ¶
type IncomingMessage struct { Type d2pb.EDOTAGCMsg Message proto.Message BusTopic string }
func NewIncomingMessage ¶
func NewIncomingMessage(msgType d2pb.EDOTAGCMsg) *IncomingMessage
func (*IncomingMessage) UnmarshalPacket ¶
func (m *IncomingMessage) UnmarshalPacket(packet *gc.GCPacket) error
Click to show internal directories.
Click to hide internal directories.