Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageWriterProxy ¶
func NewStorageWriterProxy(backend io.WriteCloser) storage.Writer
NewStorageWriterProxy Creates a storage writer that proxies to a traditional writer and drops the metadata.
Types ¶
type Decoder ¶
Decoder is a module that is resonsible for decoding a binary data stream into audit log messages.
type Encoder ¶
type Encoder interface {
// Encode takes messages from a the messages channel, encodes them in the desired format, and writes them to
// storage. When the messages channel is closed it will also close the storage writer.
Encode(messages <-chan message.Message, storage storage.Writer) error
// GetMimeType returns the MIME type of this format
GetMimeType() string
// GetFileExtension returns the desired file extension for this format
GetFileExtension() string
}
Encoder is a module that is responsible for receiving audit log messages and writing them to a writer.
Click to show internal directories.
Click to hide internal directories.