README ¶ chunky A simple network protocol for sending and receiving sets of multiple files note This is garbage and you don't want it Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func ReadFileHeader(c io.Reader) (string, int64, error) func ReadHeader(c io.Reader) (int64, error) func WriteFileHeader(c io.Writer, name string, size int64) error func WriteHeader(c io.Writer, count int64) error type Event type Log func ParseLog(json_bytes []byte) (*Log, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadFileHeader ¶ func ReadFileHeader(c io.Reader) (string, int64, error) func ReadHeader ¶ func ReadHeader(c io.Reader) (int64, error) func WriteFileHeader ¶ func WriteFileHeader(c io.Writer, name string, size int64) error func WriteHeader ¶ func WriteHeader(c io.Writer, count int64) error Types ¶ type Event ¶ type Event struct { Severity string `json:"severity"` Msg string `json:"msg"` Row int `json:"row"` Col int `json:"col"` } type Log ¶ type Log struct { Exception string `json:"exception"` Row int `json:"row"` Col int `json:"col"` Events []Event `json:"events"` } func ParseLog ¶ func ParseLog(json_bytes []byte) (*Log, error) Source Files ¶ View all Source files chunky.goread.gowrite.go Click to show internal directories. Click to hide internal directories.