proto

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

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

func LinkTypeFromString(c string) LinkType

LinkTypeFromString returns the enum value with a name, or the zero value if there's no such value.

func (LinkType) String

func (c LinkType) String() string

String returns the enum's constant name.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL