syntax = "proto3";

package vac.cas;

// Content Addressable Storage (CAS) service definition
service CAS {
  rpc Add(Content) returns (Address) {}
  rpc Get(Address) returns (Content) {}
}

message Address {
  bytes id = 1;
}

message Content {
  bytes data = 1;
}