martin-helmich/prometheus-nginxlog-exporter

View on GitHub
pkg/syslog/syslog.go

Summary

Maintainability
A
35 mins
Test Coverage

Function Listen has 5 return statements (exceeds 4 allowed).
Open

func Listen(conn string, formatSpec string) (syslog.LogPartsChannel, *syslog.Server, func() error, error) {
    channel := make(syslog.LogPartsChannel)
    handler := syslog.NewChannelHandler(channel)

    server := syslog.NewServer()
Severity: Major
Found in pkg/syslog/syslog.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status