github.com/yaoapp/kun@v0.9.0/grpc/proto/model.proto (about)

     1  syntax = "proto3";
     2  package proto;
     3  option go_package = "./";
     4  
     5  
     6  message Request {
     7      string name = 1;
     8      bytes payload = 2;
     9  }
    10  
    11  message Response {
    12      bytes response = 1;
    13      string type = 2;
    14  }
    15  
    16  service Model {
    17      rpc Exec( Request ) returns ( Response );
    18  }