|
|
@ -6,7 +6,7 @@ option go_package = "./"; |
|
|
|
// go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest |
|
|
|
// go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest |
|
|
|
// go get google.golang.org/grpc |
|
|
|
// go get google.golang.org/grpc |
|
|
|
|
|
|
|
|
|
|
|
// protoc -I=api/proto --go_out=pkg/api --go_opt=paths=source_relative --go-grpc_out=pkg/api --go-grpc_opt=paths=source_relative api/proto/account.proto |
|
|
|
// protoc -I=api/proto --go_out=pkg/api --go_opt=paths=source_relative --go-grpc_out=pkg/api --go-grpc_opt=paths=source_relative api/proto/auth.proto |
|
|
|
|
|
|
|
|
|
|
|
// Логин пользователя |
|
|
|
// Логин пользователя |
|
|
|
message LoginRequest { |
|
|
|
message LoginRequest { |
|
|
|