/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/avdl/keybase1/test.avdl
42 строки
788 B
Maxwell Krohn
test echo RPC (#20575)
24 окт 2019, 21:50
Не верифицирован
24 окт 2019, 21:50
9d95551
Код
Авторство
О чём код?
@namespace("keybase.1") protocol test { /** Result from calling test(..). */ record Test { string reply; } /** Call test method. Will trigger the testCallback method, whose result will be set in the returned Test object, reply property. */ Test test(int sessionID, string name); /** This is a service callback triggered from test(..). The name param is what was passed into test. */ string testCallback(int sessionID, string name); /** For testing crashes. */ void panic(string message); /** For testing airdrop reg. */ void testAirdropReg(); record Generic { map<string, Generic> m; array<Generic> a; union { null, string } s; union { null, int } i; } Generic echo(Generic arg); }