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 ¶
- func Case(uri string)
- func Command(c app.Command) app.Command
- func Enable(svc string)
- func HTTP(next http.Handler) http.Handler
- func Inbound(conn grpc.ClientConnInterface) grpc.ClientConnInterface
- func Outbound(client any) grpc.ClientConnInterface
- func Publisher(p publishing) amqp.Publisher
- func Start(t interface{ ... })
- func Step(kind string)
- type Record
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
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 ¶
func Inbound(conn grpc.ClientConnInterface) grpc.ClientConnInterface
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.
Types ¶
Click to show internal directories.
Click to hide internal directories.