From 22d0f1f08f38707ca87e06892a0d99daf9e8810a Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Thu, 25 Jul 2019 23:52:54 +0100 Subject: [PATCH] Changed documentation. --- network/router/router.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/network/router/router.go b/network/router/router.go index cf2e1e9c..f1041b63 100644 --- a/network/router/router.go +++ b/network/router/router.go @@ -24,15 +24,15 @@ type Router interface { Process(*Advert) error // Create new route in the routing table Create(Route) error - // Delete deletes existing route from the routing table + // Delete existing route from the routing table Delete(Route) error - // Update updates route in the routing table + // Update exiting route in the routing table Update(Route) error - // List returns the list of all routes in the table + // List lists all routes in the routing table List() ([]Route, error) - // Lookup looks up routes in the routing table and returns them + // Lookup queries routes in the routing table Lookup(Query) ([]Route, error) - // Watch returns a watcher which allows to track updates to the routing table + // Watch returns a watcher which tracks updates to the routing table Watch(opts ...WatchOption) (Watcher, error) // Status returns router status Status() Status