summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-09 16:04:15 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-11-09 19:10:43 +0900
commit076d019b75c058456f64b97c90b48f69c7dd1877 (patch)
tree8f3c8e691d3fd9b2b6a9e77c77e4f87bc9f12059 /docs
parent061c94699775397a1a970d698f8ce42c3145441e (diff)
make gRPC server private
No need to be exported. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'docs')
-rw-r--r--docs/sources/lib.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/sources/lib.md b/docs/sources/lib.md
index fb8ba5ee..c76133f9 100644
--- a/docs/sources/lib.md
+++ b/docs/sources/lib.md
@@ -27,11 +27,6 @@ func main() {
s := gobgp.NewBgpServer()
go s.Serve()
- // start grpc api server. this is not mandatory
- // but you will be able to use `gobgp` cmd with this.
- g := gobgp.NewGrpcServer(s, ":50051")
- go g.Serve()
-
// global configuration
if err := s.StartBgp(context.Background(), &api.StartBgpRequest{
Global: &api.Global{