Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advertiser ¶
type Advertiser struct { Withdrawn chan netaddr.IPPrefix InjectionCh chan netaddr.IPPrefix CidrPool []string // contains filtered or unexported fields }
func NewAdvertiser ¶
func NewAdvertiser(ctx context.Context, client api.GobgpApiClient, concurrent int, logger *zap.SugaredLogger, name string, cidrPool []string, wg *sync.WaitGroup) *Advertiser
func (*Advertiser) Loop ¶
func (d *Advertiser) Loop()
func (*Advertiser) Once ¶
func (d *Advertiser) Once()
Click to show internal directories.
Click to hide internal directories.