config

package
v0.0.0-...-4d64c08 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogEvents                  bool   `json:"log_events"`
	MessageLogDirectory        string `json:"message_log_directory"`
	DirectoryForOldMessageLogs string `json:"directory_for_old_message_logs"`
	EventLogDirectory          string `json:"event_log_directory"`
}

func GetConfig

func GetConfig(configFile string) (*Config, error)

GetConfig gets the config from the given file.

Jump to

Keyboard shortcuts

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