proto

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (c LinkType) String() string

String returns the enum's constant name.

type PathSegType added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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