From 076d019b75c058456f64b97c90b48f69c7dd1877 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 9 Nov 2018 16:04:15 +0900 Subject: make gRPC server private No need to be exported. Signed-off-by: FUJITA Tomonori --- docs/sources/lib.md | 5 ----- 1 file changed, 5 deletions(-) (limited to 'docs') 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{ -- cgit v1.2.3