package
1.0.0
Repository: https://github.com/docker/go-docker.git
Documentation: pkg.go.dev

# Functions

NewLogEntryDecoder creates a new stream decoder for log entries.
NewLogEntryEncoder creates a protobuf stream encoder for log entries.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

LogEntryDecoder decodes log entries from a stream It is expected that the wire format is as defined by LogEntryEncoder.
LogEntryEncoder encodes a LogEntry to a protobuf stream The stream should look like: [uint32 binary encoded message size][protobuf message] To decode an entry, read the first 4 bytes to get the size of the entry, then read `size` bytes from the stream.