bird_exporter/client/client.go
2019-11-01 13:18:42 +01:00

14 lines
409 B
Go

package client
import "github.com/czerwonk/bird_exporter/protocol"
// Client retrieves information from Bird routing daemon
type Client interface {
// GetProtocols retrieves protocol information and statistics from bird
GetProtocols() ([]*protocol.Protocol, error)
// GetOSPFAreas retrieves OSPF specific information from bird
GetOSPFAreas(protocol *protocol.Protocol) ([]*protocol.OspfArea, error)
}