trace

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package trace records what crosses a waffle service's edge in a suite — its gRPC and HTTP calls, its commands, the messages waffle's tools move — into the records flows/1 is written from.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Case

func Case(uri string)

func Command

func Command(c app.Command) app.Command

A daemon serves inputs rather than being one, and keeps its own type.

func Enable

func Enable(svc string)

Enable starts keeping records for the suite of svc, the messages outbox and the scribus recorder move among them.

func HTTP

func HTTP(next http.Handler) http.Handler

HTTP records every request the suite sends to the service's own server, under the route it matched rather than the path, which carries ids.

func Inbound

Inbound records every call the suite makes to the service's own server.

func Outbound

func Outbound(client any) grpc.ClientConnInterface

The generated NewXClient over it hands each call to client by method name.

func Publisher

func Publisher(p publishing) amqp.Publisher

Publisher records what p publishes. A service may narrow the publisher to its own interface without Close; the one returned closes p when p can be closed.

func Start

func Start(t interface{ Name() string })

func Step

func Step(kind string)

Types

type Record

type Record = record.Record

func Records

func Records() []Record

Jump to

Keyboard shortcuts

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