bird_exporter/client/client.go
2018-01-01 12:55:25 +01:00

13 lines
351 B
Go

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