global

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalLogger *zap.Logger
	GlobalDB     *models.TorrentDB
)

Functions

func GetLogger added in v0.0.6

func GetLogger() *zap.Logger

func GetSlogger added in v0.0.6

func GetSlogger() *zap.SugaredLogger

func InitLogger deprecated added in v0.0.6

func InitLogger(logger *zap.Logger)

Deprecated: GlobalCfg removed; use ConfigStore.Load() when needed

Types

This section is empty.

Jump to

Keyboard shortcuts

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