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

@@ -17,6 +17,7 @@ var (
ErrIPRuleAdd = errors.New("cannot add IP rule")
ErrIPRuleDelete = errors.New("cannot delete IP rule")
ErrRouteAdd = errors.New("cannot add route")
ErrRouteDelete = errors.New("cannot delete route")
ErrSubnetsOutboundSet = errors.New("cannot set outbound subnets routes")
)