protocol

package
v0.0.0-...-8f649d9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Protocols() []*network.Protocol
	Run()
}

Backend is a protocol backend

type Factory

type Factory func(ctx context.Context, logger hclog.Logger, m interface{}, config map[string]interface{}) (Backend, error)

Factory is the factory method to create the protocol

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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