relaydir

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 11 Imported by: 4

Documentation

Index

Constants

View Source
const VERSION_STRING = "0.2.0"

Variables

View Source
var T = interfaces.T{
	Consumer: interfaces.Relay,
	Provider: interfaces.Dir,
	Version:  VERSION,
}

Functions

func EnrollHandshake

func EnrollHandshake(cl *client.Client, req *http.Request) (st *status.T, err error)

EnrollHandshake performs the first enrollment request given a client and the prepared request itself. It completes the challenge-response PoW handshake which is required for new enrollments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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