hebo 0.3.3

Distributed MQTT broker
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2021 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
// Use of this source is governed by Affero General Public License that can be found
// in the LICENSE file.

//! Gateway app handler

use super::Dispatcher;
use crate::commands::GatewayToDispatcherCmd;

impl Dispatcher {
    pub(super) async fn handle_gateway_cmd(&mut self, cmd: GatewayToDispatcherCmd) {
        log::info!("cmd: {:?}", cmd);
    }
}