core

package
v0.0.0-...-0558441 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 73 Imported by: 0

Documentation

Overview

Package core contains the main struct of the software.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	// contains filtered or unexported fields
}

Core is an instance of mediamtx.

func New

func New(args []string) (*Core, bool)

New allocates a core.

func (*Core) Close

func (p *Core) Close()

Close closes Core and waits for all goroutines to return.

func (*Core) Log

func (p *Core) Log(level logger.Level, format string, args ...interface{})

Log is the main logging function.

func (*Core) Wait

func (p *Core) Wait()

Wait waits for the Core to exit.

Jump to

Keyboard shortcuts

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