ctrl_msg

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ctrl_msg implements a layer for sending SCION Ctrl payload requests/notifications via the infra dispatcher, including integrated signing and signature verification of ctrl payloads.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Requester

type Requester struct {
	// contains filtered or unexported fields
}

func NewRequester

func NewRequester(signer ctrl.Signer, sigv ctrl.Verifier, d *disp.Dispatcher) *Requester

func (*Requester) Notify

func (r *Requester) Notify(ctx context.Context, pld *ctrl.Pld, a net.Addr) error

func (*Requester) NotifyUnreliable

func (r *Requester) NotifyUnreliable(ctx context.Context, pld *ctrl.Pld, a net.Addr) error

func (*Requester) Request

func (r *Requester) Request(ctx context.Context, pld *ctrl.Pld,
	a net.Addr) (*ctrl.Pld, *proto.SignS, error)

Jump to

Keyboard shortcuts

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