livecontract

package
v0.69.21 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package livecontract provides reusable conformance checks for LiveProvider implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t testing.TB, c Case)

func RunReceiveCancellation

func RunReceiveCancellation(t testing.TB, c Case)

Types

type Case

type Case struct {
	NewProvider    func() live.LiveProvider
	Config         live.LiveConfig
	Audio          []byte
	Text           string
	ToolResponse   live.ToolResponse
	WantName       string
	WantEventType  live.LiveEventType
	ReceiveTimeout time.Duration
}

Jump to

Keyboard shortcuts

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