mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-09-13 11:50:11 +00:00

This is the quasi-standard and fixes the error below: ``` $ go get -u github.com/planetmint/planetmint-go@v0.1.0 go: github.com/planetmint/planetmint-go@v0.1.0: parsing go.mod: module declares its path as: planetmint-go but was required as: github.com/planetmint/planetmint-go ``` Signed-off-by: Julian Strobl <jmastr@mailbox.org>
29 lines
711 B
Protocol Buffer
29 lines
711 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package planetmintgo.machine;
|
|
|
|
import "planetmintgo/machine/machine.proto";
|
|
import "planetmintgo/machine/trust_anchor.proto";
|
|
|
|
option go_package = "github.com/planetmint/planetmint-go/x/machine/types";
|
|
|
|
// Msg defines the Msg service.
|
|
service Msg {
|
|
rpc AttestMachine (MsgAttestMachine ) returns (MsgAttestMachineResponse );
|
|
rpc RegisterTrustAnchor (MsgRegisterTrustAnchor) returns (MsgRegisterTrustAnchorResponse);
|
|
}
|
|
message MsgAttestMachine {
|
|
string creator = 1;
|
|
Machine machine = 2;
|
|
}
|
|
|
|
message MsgAttestMachineResponse {}
|
|
|
|
message MsgRegisterTrustAnchor {
|
|
string creator = 1;
|
|
TrustAnchor trustAnchor = 2;
|
|
}
|
|
|
|
message MsgRegisterTrustAnchorResponse {}
|
|
|