change grpc port to 9000 (#291)
* change grpc port to 9000 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * change grpc port to 9000 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
address = "localhost:50051"
|
||||
address = "localhost:9000"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -4,7 +4,7 @@ var services = require('./gorush_grpc_pb');
|
||||
var grpc = require('grpc');
|
||||
|
||||
function main() {
|
||||
var client = new services.GorushClient('localhost:50051',
|
||||
var client = new services.GorushClient('localhost:9000',
|
||||
grpc.credentials.createInsecure());
|
||||
var request = new messages.NotificationRequest();
|
||||
request.setPlatform(2);
|
||||
|
||||
Reference in New Issue
Block a user