app

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath string
View Source
var Info = map[string]any{
	"version": Version,
}
View Source
var MemoryLog *circularBuffer
View Source
var UserAgent = "go2rtc/" + Version
View Source
var Version = "1.8.5"

Functions

func GetLogger

func GetLogger(module string) zerolog.Logger

func Init

func Init()

func LoadConfig

func LoadConfig(v any)

func NewLogger

func NewLogger(format string, level string) zerolog.Logger

func PatchConfig added in v1.7.0

func PatchConfig(key string, value any, path ...string) error

Types

type Config

type Config []string

func (*Config) Set

func (c *Config) Set(value string) error

func (*Config) String

func (c *Config) String() string

Jump to

Keyboard shortcuts

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