Documentation ¶
Overview ¶
Package proto used to contain mostly auto-generated code for parsing/packing SCION capnproto protocol structs. This has all been replaced by gRPC/protobuf or otherwise replaced. Only a few left-over enums are still in use and were extracted from the auto-generated code. These should be moved to a more suitable place eventually.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkType ¶
type LinkType uint16
const ( LinkType_unset LinkType = 0 LinkType_core LinkType = 1 LinkType_parent LinkType = 2 LinkType_child LinkType = 3 LinkType_peer LinkType = 4 )
Values of LinkType.
func LinkTypeFromString ¶
LinkTypeFromString returns the enum value with a name, or the zero value if there's no such value.
type PathSegType ¶
type PathSegType uint16
const ( PathSegType_unset PathSegType = 0 PathSegType_up PathSegType = 1 PathSegType_down PathSegType = 2 PathSegType_core PathSegType = 3 )
Values of PathSegType.
func PathSegTypeFromString ¶
func PathSegTypeFromString(c string) PathSegType
PathSegTypeFromString returns the enum value with a name, or the zero value if there's no such value.
func (PathSegType) String ¶
func (c PathSegType) String() string
String returns the enum's constant name.
Click to show internal directories.
Click to hide internal directories.