core

package
v0.21.6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 64 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 rtsp-simple-server.

func New

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

New allocates a core.

func (*Core) Close added in v0.20.2

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