mirror of
https://github.com/wneessen/logranger.git
synced 2024-11-26 06:35:08 +01:00
Winni Neessen
830de14890
This update upgrades the go-parsesyslog dependency version to v0.2.2. It also enhances the server's connection handling. This is done by expanding the `HandleConnection` method to handle network errors and EOF scenarios more thoroughly, adjusting processing time measurements, and handling deadlines for connection processing. Furthermore, the initialization of the syslog parser has now been moved to the `NewServer` function for efficiency.
18 lines
385 B
Modula-2
18 lines
385 B
Modula-2
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
module github.com/wneessen/logranger
|
|
|
|
go 1.21
|
|
|
|
require (
|
|
github.com/kkyr/fig v0.4.0
|
|
github.com/wneessen/go-parsesyslog v0.2.2
|
|
)
|
|
|
|
require (
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|