summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/lib.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/lib.md')
-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{