journal

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastNGeneralLogs

func GetLastNGeneralLogs(identifier string, count uint32) ([]*client.GeneralLogs, error)

func GetLastNGeneralLogsFromSystemd

func GetLastNGeneralLogsFromSystemd(serviceName string, count uint32) ([]*client.GeneralLogs, error)

GetLastNGeneralLogsFromSystemd reads logs from standard systemd journal for FRR and other services

func GetLastNLogs

func GetLastNLogs(identifier string, serviceReq *client.RequestService) ([]*client.Logs, error)

GetLastNLogs reads Envoy logs from file system instead of systemd journal

Types

type LogType

type LogType int

LogType represents the type of log entry

const (
	LogTypeUnknown LogType = iota
	LogTypeSystem
	LogTypeAccess
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL