aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/test/src/test_files/test_dispatcher.rs
blob: 66e6a7454133d0391e8bee66c57571b905e39776 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mingling::macros::dispatcher!("greet", EntryGreet);
mingling::macros::dispatcher!("greet");
mingling::macros::dispatcher!("remote.add", EntryRemoteAdd);
mingling::macros::dispatcher!("remote.add");

dispatcher!("delete", EntryDelete);
dispatcher!("delete");
dispatcher!("remote.rm", EntryRemoteRm);
dispatcher!("remote.rm");

pub mod sub {
    mingling::macros::dispatcher!("greet", EntryGreet);
    mingling::macros::dispatcher!("greet");

    dispatcher!("delete", EntryDelete);
    dispatcher!("delete");
}