Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchError ¶
func (BatchError) Error ¶
func (be BatchError) Error() string
type BatchErrors ¶
type BatchErrors []BatchError
func (BatchErrors) Error ¶
func (be BatchErrors) Error() string
type Event ¶
type Event interface {
encoding.BinaryMarshaler
}
type Writer ¶
type Writer[T Event] struct { // contains filtered or unexported fields }
func NewWriter ¶
NewWriter creates a new WAL writer for events of type T at the specified logPath. The log file is created if it does not exist, and truncated if it does.
Click to show internal directories.
Click to hide internal directories.