2021-11-22 16:28:30 +00:00
|
|
|
@0xd29582d26b2fb073;
|
|
|
|
|
2022-11-13 03:20:31 +00:00
|
|
|
struct ApiResult @0x8111724bdb812929 {
|
2022-07-01 16:13:52 +00:00
|
|
|
union {
|
|
|
|
ok @0 :Text;
|
|
|
|
err @1 :Text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-13 03:20:31 +00:00
|
|
|
interface Registration @0xdd45f30a7c22e391 {}
|
2021-11-22 16:28:30 +00:00
|
|
|
|
2022-11-13 03:20:31 +00:00
|
|
|
interface VeilidServer @0xcb2c699f14537f94 {
|
2022-11-16 17:49:53 +00:00
|
|
|
register @0 (veilidClient :VeilidClient) -> (registration :Registration, state :Text, settings :Text);
|
2022-10-01 02:37:55 +00:00
|
|
|
debug @1 (command :Text) -> (result :ApiResult);
|
2022-07-01 16:13:52 +00:00
|
|
|
attach @2 () -> (result :ApiResult);
|
|
|
|
detach @3 () -> (result :ApiResult);
|
2022-01-18 17:33:14 +00:00
|
|
|
shutdown @4 ();
|
2022-07-01 16:13:52 +00:00
|
|
|
getState @5 () -> (result :ApiResult);
|
2022-10-01 02:37:55 +00:00
|
|
|
changeLogLevel @6 (layer :Text, logLevel :Text) -> (result :ApiResult);
|
|
|
|
appCallReply @7 (id :UInt64, message :Data) -> (result :ApiResult);
|
2021-11-22 16:28:30 +00:00
|
|
|
}
|
|
|
|
|
2022-11-13 03:20:31 +00:00
|
|
|
interface VeilidClient @0xbfcea60fb2ba4736 {
|
2022-10-01 02:37:55 +00:00
|
|
|
update @0 (veilidUpdate :Text);
|
2021-11-22 16:28:30 +00:00
|
|
|
}
|