19 lines
321 B
Protocol Buffer
19 lines
321 B
Protocol Buffer
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;
|
|
}
|