wirelink

package
v1.0.0-dev.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package wirelink hands package httpwiretest what an httpwire API was built with, which httpwire keeps off its exported API. Package httpwire sets the functions when it loads; they pass httpwire's own types as any, since this package cannot import httpwire.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Inspect answers what an *httpwire.API was built with.
	Inspect func(api any) Built
	// Primary answers an *httpwire.Endpoint's primary success status.
	Primary func(ep any) int
	// OwnerProblems answers every refusal Derive makes of an *httpwire.Owner
	// on its own, the catalog check aside.
	OwnerProblems func(owner any) []error
)

Functions

This section is empty.

Types

type Built

type Built struct {
	Schema  any
	Guard   any
	Version string
}

Built is what New was given: the parsed document (*httpwire.Schema), the guard (httpwire.Guard, nil when none) and the wire version.

Jump to

Keyboard shortcuts

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