core

package
v0.0.0-...-8a90fd1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 82 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 MediaServer.

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