mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 23:49:57 +00:00
14 lines
276 B
Cap'n Proto
14 lines
276 B
Cap'n Proto
using Go = import "/go.capnp";
|
|
@0xdb8274f9144abc7e;
|
|
$Go.package("hashes");
|
|
$Go.import("zombiezen.com/go/capnproto2/internal/demo/hashes");
|
|
|
|
interface HashFactory {
|
|
newSha1 @0 () -> (hash :Hash);
|
|
}
|
|
|
|
interface Hash {
|
|
write @0 (data :Data) -> ();
|
|
sum @1 () -> (hash :Data);
|
|
}
|