cleanup consts

This commit is contained in:
Asim Aslam 2019-07-10 07:51:24 +01:00
parent a08b64c8ab
commit c36107e811

View File

@ -8,19 +8,19 @@ import (
)
const (
// Announce is advertised when the router announces itself
Announce AdvertType = iota
// Update advertises route updates
Update
)
const (
// Status codes
// Running means the router is up and running
Running StatusCode = iota
// Stopped means the router has been stopped
Stopped
// Error means the router has encountered 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