proto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto implements helpers for capnp SVC address resolution messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SVCResolutionReply

type SVCResolutionReply struct {
	Transports []Transport
}

SVCResolutionReply is a pogs-compatible representation of a list of SCION transport key-value pairs.

func (*SVCResolutionReply) DecodeFrom

func (r *SVCResolutionReply) DecodeFrom(rd io.Reader) error

func (*SVCResolutionReply) ProtoId

func (*SVCResolutionReply) SerializeTo

func (r *SVCResolutionReply) SerializeTo(wr io.Writer) error

func (*SVCResolutionReply) String

func (r *SVCResolutionReply) String() string

type Transport

type Transport struct {
	Key   string
	Value string
}

Transport is a pogs-compatible representation of a protocol transport key-value pair.

func (Transport) String

func (t Transport) String() string

Jump to

Keyboard shortcuts

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