8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d32f184 commit 40aa796Copy full SHA for 40aa796
example.env
@@ -1,5 +1,7 @@
1
PORT=8000
2
3
+GRPC_SERVER_ADDRESS=0.0.0.0:8080
4
+
5
MONGO_INITDB_ROOT_USERNAME=root
6
MONGO_INITDB_ROOT_PASSWORD=password123
7
proto/auth_service.proto
@@ -4,7 +4,6 @@ package pb;
import "rpc_signin_user.proto";
import "rpc_signup_user.proto";
-import "rpc_verify_user.proto";
8
import "user.proto";
9
10
option go_package = "github.com/wpcodevo/golang-mongodb/pb";
@@ -13,4 +12,6 @@ service AuthService {
13
12
rpc SignUpUser(SignUpUserInput) returns (GenericResponse) {}
14
rpc SignInUser(SignInUserInput) returns (SignInUserResponse) {}
15
rpc VerifyEmail(VerifyEmailRequest) returns (GenericResponse) {}
16
-}
+}
17
+message VerifyEmailRequest { string verificationCode = 1; }
proto/rpc_verify_user.proto
0 commit comments