contracttest

package
v1.0.0-alpha.40 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package contracttest holds examples of integration/v0.7 of Costroid/costroid-schemas, the contract Costroid and Costroid Platform share, for the tests that hold Costroid's senders and costroid serve to it. Each example is the published file, byte for byte, held to its SHA-256.

Index

Constants

This section is empty.

Variables

View Source
var Examples = map[string]Held{}/* 122 elements not displayed */

Examples are the examples the tests send and read, each under its path in the version's examples directory.

Functions

func Example

func Example(t testing.TB, name string) []byte

Example returns the example held under name, its path in the version's examples directory, and fails the test when none is held or its bytes are not the published file's.

Types

type Held

type Held struct {
	SHA256, Body string
}

Held is one published example: the file's bytes and their SHA-256.

Jump to

Keyboard shortcuts

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