Movatterモバイル変換


[0]ホーム

URL:


Notice  The highest tagged major version isv16.

api

package
v0.0.0-...-31c1c1eLatest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License:Apache-2.0Imports:33Imported by:0

Details

Repository

github.com/datarhei/core

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfigReload =fmt.Errorf("configuration reload")

ErrConfigReload is an error returned to indicate that a reload ofthe configuration has been requested.

Functions

This section is empty.

Types

typeAPI

type API interface {// Start starts the API. This is blocking until the app has// been ended with Stop() or Destroy(). In this case a nil error// is returned. An ErrConfigReload error is returned if a// configuration reload has been requested.Start()error// Stop stops the API, some states may be kept intact such// that they can be reused after starting the API again.Stop()// Destroy is the same as Stop() but no state will be kept intact.Destroy()// Reload the configuration for the API. If there's an error the// previously loaded configuration is not altered.Reload()error}

The API interface is the implementation for the restreamer API.

funcNew

func New(configpathstring, logwriterio.Writer) (API,error)

New returns a new instance of the API interface

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp