Documentation
¶
Overview ¶
Package eventbustest provides shared test helpers for modulex.EventBus adapter implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SyncBuffer ¶
type SyncBuffer struct {
// contains filtered or unexported fields
}
SyncBuffer is a concurrency-safe io.Writer wrapping a bytes.Buffer. It is useful for capturing log output written by adapter goroutines while the test polls the buffer from the main goroutine.
func (*SyncBuffer) String ¶
func (b *SyncBuffer) String() string
Click to show internal directories.
Click to hide internal directories.