Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router interface { component.Interface component.ManagementInterface // Handle a status message from a gateway HandleGatewayStatus(gatewayID string, status *pb_gateway.Status) error // Handle an uplink message from a gateway HandleUplink(gatewayID string, uplink *pb.UplinkMessage) error // Handle a downlink message HandleDownlink(message *pb_broker.DownlinkMessage) error // Subscribe to downlink messages SubscribeDownlink(gatewayID string, subscriptionID string) (<-chan *pb.DownlinkMessage, error) // Unsubscribe from downlink messages UnsubscribeDownlink(gatewayID string, subscriptionID string) error // Handle a device activation HandleActivation(gatewayID string, activation *pb.DeviceActivationRequest) (*pb.DeviceActivationResponse, error) // contains filtered or unexported methods }
Router component
Source Files ¶
Click to show internal directories.
Click to hide internal directories.