Documentation
¶
Overview ¶
Copyright (c) 2025 Tobias Schäfer. All rights reserved. Licensed under the MIT License, see LICENSE file in the project root for details.
Copyright (c) 2025 Tobias Schäfer. All rights reserved. Licensed under the MIT License, see LICENSE file in the project root for details.
Copyright (c) 2025 Tobias Schäfer. All rights reserved. Licensed under the MIT License, see LICENSE file in the project root for details.
Copyright (c) 2025 Tobias Schäfer. All rights reserved. Licensed under the MIT License, see LICENSE file in the project root for details.
Copyright (c) 2025 Tobias Schäfer. All rights reserved. Licensed under the MIT License, see LICENSE file in the project root for details.
Index ¶
Constants ¶
const (
ExitOnWarningEnv string = "CONNTRACKD_SINK_EXIT_ON_WARNING"
)
Variables ¶
var LokiProtocols = []string{"http", "https"}
var StreamWriters = []string{"stdout", "stderr", "discard"}
var SyslogProtocols = []string{"udp", "tcp", "unix", "unixgram", "unixpacket"}
Functions ¶
This section is empty.
Types ¶
type Loki ¶
func (*Loki) TargetLoki ¶
type SinkTarget ¶
type SinkTarget func(*slog.HandlerOptions) (slog.Handler, error)