From 425e947b4ca231591ccabc01f5113555bcc4681b Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Wed, 27 Apr 2016 17:10:18 +0000 Subject: docs: update lib.md [ci skip] Signed-off-by: ISHIDA Wataru --- docs/sources/lib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/sources/lib.md') diff --git a/docs/sources/lib.md b/docs/sources/lib.md index c7b7389b..e9092d3a 100644 --- a/docs/sources/lib.md +++ b/docs/sources/lib.md @@ -25,7 +25,7 @@ func main() { // start grpc api server. this is not mandatory // but you will be able to use `gobgp` cmd with this. - g := gobgp.NewGrpcServer(50051, s.GrpcReqCh) + g := gobgp.NewGrpcServer(":50051", s.GrpcReqCh) go g.Serve() // global configuration -- cgit v1.2.3