8000 updated · wpcodevo/golang-mongodb-api@40aa796 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40aa796

Browse files
committed
updated
1 parent d32f184 commit 40aa796

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

example.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
PORT=8000
22

3+
GRPC_SERVER_ADDRESS=0.0.0.0:8080
4+
35
MONGO_INITDB_ROOT_USERNAME=root
46
MONGO_INITDB_ROOT_PASSWORD=password123
57

proto/auth_service.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ package pb;
44

55
import "rpc_signin_user.proto";
66
import "rpc_signup_user.proto";
7-
import "rpc_verify_user.proto";
87
import "user.proto";
98

109
option go_package = "github.com/wpcodevo/golang-mongodb/pb";
@@ -13,4 +12,6 @@ service AuthService {
1312
rpc SignUpUser(SignUpUserInput) returns (GenericResponse) {}
1413
rpc SignInUser(SignInUserInput) returns (SignInUserResponse) {}
1514
rpc VerifyEmail(VerifyEmailRequest) returns (GenericResponse) {}
16-
}
15+
}
16+
17+
message VerifyEmailRequest { string verificationCode = 1; }

proto/rpc_verify_user.proto

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0