Documentation ¶
Index ¶
- func Checksum(t *testing.T, e eventlog.Event) uint64
- func EventLen(e eventlog.Event) int64
- func LabelLen(e eventlog.Event) uint16
- func NewBuffer() []byte
- func PayloadLen(e eventlog.Event) uint32
- func ValidFileHeader(t *testing.T) (parts []interface{}, creation time.Time, len int64)
- func ValidLog(t *testing.T) []eventlog.Event
- type ExpectedRead
- type FakeSrc
- type ReadRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PayloadLen ¶
func ValidFileHeader ¶
Types ¶
type ExpectedRead ¶
type ReadRecorder ¶
type ReadRecorder struct {
// contains filtered or unexported fields
}
func NewReadRecorder ¶
func NewReadRecorder(t *testing.T, e ...ExpectedRead) *ReadRecorder
Click to show internal directories.
Click to hide internal directories.