icall

Crates.ioicall
lib.rsicall
version0.1.53
created_at2025-01-16 05:32:38.488729+00
updated_at2025-03-05 10:24:36.596399+00
descriptioncall interface proto for hpc
homepagehttps://github.com/i18n-site/hpc/tree/dev/rust/icall
repositoryhttps://github.com/i18n-site/hpc.git
max_upload_size
id1518923
size63,220
i18n.site (i18nsite)

documentation

README

icall

call interface proto for hpc

syntax = "proto3";

message CallLi
{
  repeated uint32 func_li = 1;
  repeated bytes args_li = 2;
}

message BinLi
{
  repeated uint32 state_li = 1;
  repeated bytes bin_li = 2;
}

enum State {
  OK = 0;

  JSON = 1;
  CODE = 2;
  BIN = 3;

  CAPTCHA = 10;
  NEED_SIGNIN = 11;
  NO_PERMISSION = 12;

  MISS_FUNC = 100;
  ARGS_INVALID = 101;
  BATCH_LIMIT = 102;
  CALL_ERROR = 103;
  MIDDLEWARE_ERROR = 104;
}

message Code
{
  uint32 inner = 1;
}

message Json
{
  string inner = 1;
}

message Bin
{
  bytes inner = 1;
}

message Captcha
{
  bytes id = 1;
  bytes img = 2;
  bytes tip = 3;
}

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Commit count: 0

cargo fmt