Versions in this module Expand all Collapse all v1 v1.3.0 Feb 11, 2015 Changes in this version + type ChannelHandler struct + func NewChannelHandler(channel LogPartsChannel) *ChannelHandler + func (self *ChannelHandler) Handle(logParts syslogparser.LogParts, messageLength int64, err error) + func (self *ChannelHandler) SetChannel(channel LogPartsChannel) + type Format int + const RFC3164 + const RFC5424 + const RFC6587 + type Handler interface + Handle func(syslogparser.LogParts, int64, error) + type LogPartsChannel chan syslogparser.LogParts + type ScanCloser struct + type Server struct + func NewServer() *Server + func (self *Server) Boot() error + func (self *Server) GetLastError() error + func (self *Server) Kill() error + func (self *Server) ListenTCP(addr string) error + func (self *Server) ListenUDP(addr string) error + func (self *Server) ListenUnixgram(addr string) error + func (self *Server) SetFormat(format Format) + func (self *Server) SetHandler(handler Handler) + func (self *Server) SetTimeout(millseconds int64) + func (self *Server) Wait() + type TimeoutCloser interface + Close func() error + SetReadDeadline func(t time.Time) error Incompatible versions in this module v2.1.1+incompatible Mar 12, 2016 v2.1.0+incompatible Jul 16, 2015 v2.0.0+incompatible Feb 22, 2015