diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-27 17:10:18 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-04-27 17:10:57 +0000 |
commit | 425e947b4ca231591ccabc01f5113555bcc4681b (patch) | |
tree | 6fc8abac4918bb1a89bdc6b88c582d88c5abcb15 /docs/sources/lib.md | |
parent | 6e8d1bb1626996fbaa80b4b0a4322b2bdc27ce6e (diff) |
docs: update lib.md
[ci skip]
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources/lib.md')
-rw-r--r-- | docs/sources/lib.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |