conn

package
v0.0.0-...-46677ce Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(
	c *config.Config,
	a app.Application,
	clock pub.Clock,
	client *http.Client,
	da *services.DeliveryAttempts,
	pk *services.PrivateKeys) (tc *Controller, err error)

func (*Controller) Get

func (tc *Controller) Get(
	privKey crypto.PrivateKey,
	pubKeyId string) (t pub.Transport, err error)

func (*Controller) GetFirstAlgorithm

func (tc *Controller) GetFirstAlgorithm() httpsig.Algorithm

func (*Controller) Start

func (tc *Controller) Start()

func (*Controller) Stop

func (tc *Controller) Stop()

Jump to

Keyboard shortcuts

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