Documentation ¶
Overview ¶
Package session monitors session health and maintains a concurrency-safe remote SIG address (that includes a working path) for each session.
Index ¶
- type PathPool
- type Session
- func (s *Session) AnnounceWorkerStopped()
- func (s *Session) Cleanup() error
- func (s *Session) Conn() *snet.Conn
- func (s *Session) Healthy() bool
- func (s *Session) IA() addr.IA
- func (s *Session) ID() mgmt.SessionType
- func (s *Session) PathPool() egress.PathPool
- func (s *Session) Remote() *egress.RemoteInfo
- func (s *Session) Ring() *ringbuf.Ring
- func (s *Session) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathPool ¶
type PathPool struct {
// contains filtered or unexported fields
}
func (*PathPool) Paths ¶
func (pp *PathPool) Paths() spathmeta.AppPathSet
type Session ¶
type Session struct { log.Logger SessId mgmt.SessionType // contains filtered or unexported fields }
Session contains a pool of paths to the remote AS, metrics about those paths, as well as maintaining the currently favoured path and remote SIG to use.
func NewSession ¶
func (*Session) AnnounceWorkerStopped ¶
func (s *Session) AnnounceWorkerStopped()
func (*Session) ID ¶
func (s *Session) ID() mgmt.SessionType
func (*Session) Remote ¶
func (s *Session) Remote() *egress.RemoteInfo
Click to show internal directories.
Click to hide internal directories.