summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/lib.md
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-20 06:50:15 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-20 06:50:15 +0900
commit4635014cbb1f403d4582698f1b0a23f5a879d5d0 (patch)
tree39a4a770865d576aca7278f2a8b33dac1eefa657 /docs/sources/lib.md
parentc7c8f5612bb726ca8fe85389c688bb5d412e8fdb (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.md2
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