Implement an HTTP API to query and control the server

This commit is contained in:
aler9
2021-07-04 18:13:49 +02:00
committed by Alessandro Ros
parent e516d265d6
commit ed375583d0
21 changed files with 1139 additions and 227 deletions

View File

@@ -2,12 +2,11 @@ package core
// source is an entity that can provide a stream, statically or dynamically.
type source interface {
IsSource()
OnSourceAPIDescribe() interface{}
}
// sourceStatic is an entity that can provide a static stream.
type sourceStatic interface {
source
IsSourceStatic()
Close()
}