public

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleConfig

type ModuleConfig struct {
	OwnInstance *zerolog.Logger

	LogToConsole  bool
	LogToFile     *os.File
	LogToRabbitMq *RabbitMqLogConfig

	LogOutputCustomWriters []io.Writer
}

type RabbitMqLogConfig

type RabbitMqLogConfig struct {
	User     string
	Password string
	Host     string
	Port     string
	Queue    *string
	Exchange *string
	Vhost    string
	// ContentType default json
	ContentType *string
	// Timeout default 250 ms
	Timeout *time.Duration
	// LogsChannelSize default 1000
	LogsChannelSize *int
}

Jump to

Keyboard shortcuts

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