Documentation ¶
Index ¶
- func Nop(_ context.Context, _ []byte, _ map[string]any) error
- type Call
- type Sink
- func (s *Sink) ExpectCall(t *testing.T, expected []byte, attrs map[string]any)
- func (s *Sink) ExpectCalls(t *testing.T, expected ...*Call)
- func (s *Sink) ExpectNoCalls(t *testing.T)
- func (s *Sink) ExpectNoCallsUntil(t *testing.T, d time.Duration)
- func (s *Sink) ExpectToken(t *testing.T, expected []byte)
- func (s *Sink) ExpectTokens(t *testing.T, expected ...[]byte)
- func (s *Sink) NextCall(t *testing.T) ([]byte, map[string]any)
- func (s *Sink) NextToken(t *testing.T) []byte
- func (s *Sink) NextTokens(t *testing.T, n int) [][]byte
- type SinkOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sink ¶
func (*Sink) ExpectCall ¶
func (*Sink) ExpectCalls ¶ added in v0.95.0
func (*Sink) ExpectNoCalls ¶
Click to show internal directories.
Click to hide internal directories.