Skip to content
Snippets Groups Projects
peer.go 458 B
Newer Older
  • Learn to ignore specific revisions
  • Oliver Herms's avatar
    Oliver Herms committed
    package config
    
    import (
    	"net"
    
    	"github.com/bio-routing/bio-rd/routingtable"
    
    Oliver Herms's avatar
    Oliver Herms committed
    )
    
    type Peer struct {
    
    Oliver Herms's avatar
    Oliver Herms committed
    	ReconnectInterval time.Duration
    	KeepAlive         time.Duration
    
    	HoldTime          time.Duration
    
    	LocalAddress      net.IP
    	PeerAddress       net.IP
    	LocalAS           uint32
    	PeerAS            uint32
    	Passive           bool
    	RouterID          uint32
    	AddPathSend       routingtable.ClientOptions
    	AddPathRecv       bool
    
    Oliver Herms's avatar
    Oliver Herms committed
    }