Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PathSource ¶
type PathSource interface {
Get(ctx context.Context, src, dst addr.IA) (*overlay.OverlayAddr, *spath.Path, error)
}
PathSource is a source of paths and overlay addresses for snet.
func NewPathSource ¶
func NewPathSource(resolver pathmgr.Resolver) PathSource
NewPathSource initializes a source of paths and overlay addresses for snet, with information obtained from resolver. Passing in a nil resolver is allowed, but the source will always return an error when invoked.
Directories ¶
Path | Synopsis |
---|---|
Package mock_pathsource is a generated GoMock package.
|
Package mock_pathsource is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.