Compare commits
1 Commits
05f8a3b57e
...
a8135fd45c
| Author | SHA1 | Date | |
|---|---|---|---|
| a8135fd45c |
18
moderation.proto
Normal file
18
moderation.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "git.itzana.me/strafesnet/go-grpc/moderation";
|
||||
|
||||
package moderation;
|
||||
|
||||
service ModerationService {
|
||||
rpc SetState(SetStateRequest) returns (Null);
|
||||
}
|
||||
|
||||
message Null {}
|
||||
|
||||
message SetStateRequest {
|
||||
int64 UserID = 1;
|
||||
int64 ModeratorID = 2;
|
||||
int32 ReasonID = 3;
|
||||
int32 StateID = 4;
|
||||
}
|
||||
Reference in New Issue
Block a user