Versions in this module Expand all Collapse all v0 v0.6.0 May 25, 2016 Changes in this version + const ChunkSize + const LOG_ALERT + const LOG_CRIT + const LOG_DEBUG + const LOG_EMERG + const LOG_ERR + const LOG_INFO + const LOG_NOTICE + const LOG_WARNING + type CompressType int + const CompressGzip + const CompressZlib + type Message struct + Extra map[string]interface{} + Facility string + Full string + Host string + Level int32 + Short string + TimeUnix float64 + Version string + func (m *Message) MarshalJSON() ([]byte, error) + func (m *Message) UnmarshalJSON(data []byte) error + type Reader struct + func NewReader(addr string) (*Reader, error) + func (r *Reader) Addr() string + func (r *Reader) Read(p []byte) (int, error) + func (r *Reader) ReadMessage() (*Message, error) + type Writer struct + CompressionLevel int + CompressionType CompressType + Facility string + func NewWriter(addr string) (*Writer, error) + func (w *Writer) Close() error + func (w *Writer) Write(p []byte) (n int, err error) + func (w *Writer) WriteMessage(m *Message) (err error)