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() sig_mgmt.SessionType
- func (s *Session) Logger() log.Logger
- func (s *Session) PathPool() iface.PathPool
- func (s *Session) Remote() *iface.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 { SessId sig_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() sig_mgmt.SessionType
func (*Session) Remote ¶
func (s *Session) Remote() *iface.RemoteInfo
Click to show internal directories.
Click to hide internal directories.