1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

15 lines
404 B
Go
Raw Normal View History

2019-05-10 11:17:55 +02:00
package gobgp
2019-01-08 10:15:53 +01:00
2021-03-22 17:35:20 +01:00
// Config is a GoBGP source config
2019-01-08 10:15:53 +01:00
type Config struct {
2019-05-10 11:17:55 +02:00
Id string
Name string
2019-01-08 10:15:53 +01:00
Host string `ini:"host"`
Insecure bool `ini:"insecure"`
// ProcessingTimeout is a timeout in seconds configured per gRPC call to a given GoBGP daemon
ProcessingTimeout int `ini:"processing_timeout"`
TLSCert string `ini:"tls_crt"`
TLSCommonName string `ini:"tls_common_name"`
2019-05-10 11:17:55 +02:00
}