app

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath string
View Source
var Info = map[string]interface{}{
	"version": Version,
}
View Source
var UserAgent = "go2rtc/" + Version
View Source
var Version = "1.1.1"

Functions

func GetLogger

func GetLogger(module string) zerolog.Logger

func Init

func Init()

func LoadConfig

func LoadConfig(v interface{})

func NewLogger

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

Types

type Config

type Config []string

func (*Config) Set

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

func (*Config) String

func (c *Config) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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