Maint: refactor internal/routing

- Split Go files better
- Reduce public API for exported errors
This commit is contained in:
Quentin McGaw (desktop)
2021-08-25 17:52:05 +00:00
parent 67001fa958
commit d6659552df
12 changed files with 473 additions and 403 deletions

View File

@@ -0,0 +1,11 @@
package routing
import (
"errors"
)
var (
ErrLinkByIndex = errors.New("cannot obtain link by index")
ErrLinkDefaultNotFound = errors.New("default link not found")
ErrRoutesList = errors.New("cannot list routes")
)