mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 04:26:20 -04:00
dev-docs: Go package docs (#958)
* Remove unused package * Add Go package docs to most packages Signed-off-by: Daniel Weiße <dw@edgeless.systems> Signed-off-by: Fabian Kammel <fk@edgeless.systems> Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
parent
b7740723ac
commit
690b50b29d
118 changed files with 735 additions and 750 deletions
|
@ -5,14 +5,17 @@ package verify;
|
|||
option go_package = "github.com/edgelesssys/constellation/v2/verify/verifyproto";
|
||||
|
||||
service API {
|
||||
// GetAttestation returns an attestation for the given user data and nonce.
|
||||
rpc GetAttestation(GetAttestationRequest) returns (GetAttestationResponse);
|
||||
}
|
||||
|
||||
message GetAttestationRequest {
|
||||
// bytes user_data = 1; removed
|
||||
// nonce is a random nonce to prevent replay attacks.
|
||||
bytes nonce = 2;
|
||||
}
|
||||
|
||||
message GetAttestationResponse {
|
||||
// attestation is the attestation for the given user data and nonce.
|
||||
bytes attestation = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue