blob: c5793ff81bdadbc7a4de3495a1f0ba15a79109a3 [file] [log] [blame]
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
library bindingstest;
using zx;
protocol Test1 {
Echo(string? in) -> (string? out);
NoResponse();
EmptyResponse() -> ();
-> Surprise(string foo);
EchoHandleRights(zx.handle:<PORT, zx.rights.READ | zx.rights.TRANSFER | zx.rights.DUPLICATE> h) -> (uint32 rights);
};