api.proto 330 B

1234567891011121314151617
  1. syntax = "proto3";
  2. // use {app_id}.{version} as package name
  3. package app.resource.v1;
  4. // specify golang package name
  5. option go_package = "v1";
  6. service AppResource {
  7. // 更新静态资源所有缓存
  8. rpc ModuleUpdateCache(NoArgRequest) returns(NoReply);
  9. }
  10. // NoArgReq
  11. message NoArgRequest{}
  12. // NoReply
  13. message NoReply{}