# Packages
No description provided by the author
No description provided by the author
Package mock_seg is a generated GoMock package.
# Functions
ASEntryFromPB creates an AS entry from the protobuf representation.
BeaconFromPB translates a protobuf path Beacon.
CreateSegment creates a new path segment.
NewInfo creates a new path segment info.
PathSegmentToPB translates a path segment to the protobuf encoding.
SegmentFromPB translates a protobuf path segment.
No description provided by the author
No description provided by the author
# Constants
Path segment types.
Path segment types.
Path segment types.
ValidateBeacon validates the segment in the same manner as ValidateSegment, except for the last AS entry.
ValidateSegment validates that remote ingress and egress ISD-AS for each AS entry are consistent with the segment.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Info represents the path segment information.
Meta holds the path segment with its type.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Segments is just a helper type to have additional methods on top of a slice of PathSegments.
Type is the path segment type.
ValidationMethod is the method that is used during validation.