chirp

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: BSD-3-Clause Imports: 4 Imported by: 6

Documentation

Overview

Package chirp implements a client to communicate with the BIRD Internet Routing Daemon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BIRDClient

type BIRDClient struct {
	// contains filtered or unexported fields
}

BIRDClient handles communication with the BIRD Internet Routing Daemon.

func New

func New(socket string) (*BIRDClient, error)

New creates a BIRDClient.

func (*BIRDClient) Close

func (b *BIRDClient) Close() error

Close closes the underlying connection to BIRD.

func (*BIRDClient) DisableProtocol

func (b *BIRDClient) DisableProtocol(protocol string) error

DisableProtocol disables the provided protocol.

func (*BIRDClient) EnableProtocol

func (b *BIRDClient) EnableProtocol(protocol string) error

EnableProtocol enables the provided protocol.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL