# Packages
Package mock_seg is a generated GoMock package.
# Functions
No description provided by the author
NewBeaconFromRaw creates a segment from raw data.
No description provided by the author
No description provided by the author
No description provided by the author
NewSeg creates a new path segment with the specified info field.
NewSegFromRaw creates a segment from raw data.
# Constants
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
Beacon is kept for compatibility with python code.
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
# Type aliases
Segments is just a helper type to have additional methods on top of a slice of PathSegments.
ValidationMethod is the method that is used during validation.