github.com/diadata-org/diadata@v1.4.593/protoc/signer.proto (about)

     1  syntax = "proto3";
     2  
     3  
     4  
     5  
     6  package rpc;
     7    
     8  option go_package = "github.com/diadata-org/diadata/pkg/dia/helper/signer";
     9  
    10   service Signer {
    11    rpc Sign (DataToSign) returns ( SignedData) {}
    12  
    13  }
    14  
    15  // The request message containing the user's name.
    16  message SignedData {
    17    bytes signed = 1;
    18  
    19  }
    20  
    21  
    22  message DataToSign {
    23    bytes data = 1;
    24    string by = 2 ;
    25  
    26  }
    27  
    28  
    29  
    30  
    31