app

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 14 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 UserAgent = "go2rtc/" + Version
View Source
var Version = ""

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