Documentation ¶
Index ¶
- type Announcer
- type Config
- type GoBGPServer
- type Logger
- func (l *Logger) Debug(msg string, fields gobgpLog.Fields)
- func (l *Logger) Error(msg string, fields gobgpLog.Fields)
- func (l *Logger) Fatal(msg string, fields gobgpLog.Fields)
- func (l *Logger) GetLevel() gobgpLog.LogLevel
- func (l *Logger) Info(msg string, fields gobgpLog.Fields)
- func (l *Logger) Panic(msg string, fields gobgpLog.Fields)
- func (l *Logger) SetLevel(level gobgpLog.LogLevel)
- func (l *Logger) Warn(msg string, fields gobgpLog.Fields)
- type Metrics
- type Mock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcer ¶
type Config ¶
type Config struct { GoBGP GoBGPServer Prefixes []string NextHop string LocalASN uint32 }
type GoBGPServer ¶
type GoBGPServer interface { AddPath(ctx context.Context, r *api.AddPathRequest) (*api.AddPathResponse, error) DeletePath(ctx context.Context, r *api.DeletePathRequest) error }
Click to show internal directories.
Click to hide internal directories.