Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Port defines the listening port of the HTTP server Port uint `yaml:"port"` // ShutdownTimeout defines the timeout to wait for the server to shut down gracefully ShutdownTimeout time.Duration `yaml:"shutdown_timeout"` // LogFolder defines the folder that contains the log files to read LogFolder string `yaml:"log_folder"` // BufferSize defines the size in bytes of the buffer used to read the log file BufferSize int `yaml:"buffer_size"` // MaxEvents defines the maximum number of events returned. That means the limit applies after filter is applied. MaxEvents uint `yaml:"max_events"` }
Config contains the configuration for the HTTP server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a HTTP server that implements the REST API to read events located in log files
Click to show internal directories.
Click to hide internal directories.