// 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); | |
}; |