Julian Strobl d4eed021c8
[go.mod] Switch module to github.com (#86)
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>
2023-09-21 17:37:57 +02:00

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 {}