cleanup consts
This commit is contained in:
parent
a08b64c8ab
commit
c36107e811
@ -8,19 +8,19 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Announce is advertised when the router announces itself
|
// Status codes
|
||||||
Announce AdvertType = iota
|
|
||||||
// Update advertises route updates
|
|
||||||
Update
|
|
||||||
)
|
|
||||||
|
|
||||||
const (
|
|
||||||
// Running means the router is up and running
|
// Running means the router is up and running
|
||||||
Running StatusCode = iota
|
Running StatusCode = iota
|
||||||
// Stopped means the router has been stopped
|
// Stopped means the router has been stopped
|
||||||
Stopped
|
Stopped
|
||||||
// Error means the router has encountered error
|
// Error means the router has encountered error
|
||||||
Error
|
Error
|
||||||
|
|
||||||
|
// Advert types
|
||||||
|
// Announce is advertised when the router announces itself
|
||||||
|
Announce AdvertType = iota
|
||||||
|
// Update advertises route updates
|
||||||
|
Update
|
||||||
)
|
)
|
||||||
|
|
||||||
// Router is an interface for a routing control plane
|
// Router is an interface for a routing control plane
|
||||||
|
Loading…
x
Reference in New Issue
Block a user