fix: use buf
This commit is contained in:
parent
20ec3a02c8
commit
a73ddbc7c4
7
buf.yaml
Normal file
7
buf.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
version: v1
|
||||||
|
lint:
|
||||||
|
use:
|
||||||
|
- DEFAULT
|
||||||
|
breaking:
|
||||||
|
use:
|
||||||
|
- FILE
|
@ -10,15 +10,13 @@ package licensing.users.v1;
|
|||||||
|
|
||||||
option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1";
|
option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1";
|
||||||
|
|
||||||
import "google/protobuf/empty.proto";
|
|
||||||
|
|
||||||
message SignupRequest {}
|
message SignupRequest {}
|
||||||
message SignupResponse {}
|
message SignupResponse {}
|
||||||
|
|
||||||
|
message CurrentRequest {}
|
||||||
message CurrentResponse {}
|
message CurrentResponse {}
|
||||||
|
|
||||||
service UserService {
|
service UserService {
|
||||||
rpc Signup(SignupRequest) returns (SignupResponse);
|
rpc Signup(SignupRequest) returns (SignupResponse);
|
||||||
|
rpc Current(CurrentRequest) returns (CurrentResponse);
|
||||||
rpc Current(google.protobuf.Empty) returns (CurrentResponse);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user