-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add module dependencies * re-organize files
- Loading branch information
1 parent
bdfc0a7
commit 921d438
Showing
20 changed files
with
1,446 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
syntax = "proto3"; | ||
|
||
package pbufregistry.v1; | ||
|
||
option go_package = "pbufregistry/api/v1;v1"; | ||
|
||
// Module is a module registered in the registry. | ||
message Module { | ||
// id is the unique identifier of the module. | ||
string id = 1; | ||
|
||
// The name of the module. | ||
string name = 2; | ||
|
||
// The tags of the module. | ||
repeated string tags = 3; | ||
} | ||
|
||
// ProtoFile is a proto file registered in the registry. | ||
message ProtoFile { | ||
// The filename of the proto file. | ||
string filename = 1; | ||
|
||
// The content of the proto file. | ||
string content = 2; | ||
} | ||
|
||
// Dependency is a dependency registered in the registry. | ||
message Dependency { | ||
// The name of the dependency. | ||
string name = 1; | ||
|
||
// The tag of the dependency. | ||
string tag = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.