diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-20 06:50:15 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-20 06:50:15 +0900 |
commit | 4635014cbb1f403d4582698f1b0a23f5a879d5d0 (patch) | |
tree | 39a4a770865d576aca7278f2a8b33dac1eefa657 /docs/sources/lib.md | |
parent | c7c8f5612bb726ca8fe85389c688bb5d412e8fdb (diff) |
remove gRPC dependency from table/
Signed-off-by: FUJITA Tomonori <fujita.tomonori@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 4fac54de..b1f80ca1 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(s, ":50051", s.GrpcReqCh) go g.Serve() // global configuration |