Versions in this module Expand all Collapse all v0 v0.0.2 Sep 21, 2023 v0.0.1 Sep 21, 2023 Changes in this version + const ProducerName + const ProducerResponsibility + const RFC3164 + const RFC5424 + const RFC5424OnlyKey + const RFCFormatKey + const ReceiverName + const ReceiverResponsibility + const SeverityKey + const StorerName + const StorerResponsibility + func PrepareTLS(CLIENT_CERT_PATH, CLIENT_KEY_PATH, ROOT_CA_PATH string) (*tls.Config, error) + func ProducerDescriptor() sputnik.BlockDescriptor + func RFC3164Props() map[string]string + func RFC5424Props() map[string]string + func ReceiverDescriptor() sputnik.BlockDescriptor + func RegisterMessageProducerFactory(fact func() sidecar.MessageProducer) + type Server struct + func NewServer(conf SyslogConfiguration) *Server + func (s *Server) Finish() error + func (s *Server) Handle(logParts format.LogParts, msgLen int64, err error) + func (s *Server) Init() error + func (s *Server) SetupHandling(bc sputnik.BlockCommunicator) + func (s *Server) Start() error + type SyslogConfiguration struct + ADDRTCP string + ADDRTCPTLS string + ADDRUDP string + CLIENT_CERT_PATH string + CLIENT_KEY_PATH string + ROOT_CA_PATH string + SEVERITYLEVEL int + UDSPATH string