mirror of
https://github.com/datarhei/core.git
synced 2025-10-16 13:00:37 +08:00
Check for equal FFmpeg skills, remove /v1/version
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/datarhei/core/v16/cluster/client"
|
||||
"github.com/datarhei/core/v16/cluster/proxy"
|
||||
"github.com/datarhei/core/v16/config"
|
||||
"github.com/datarhei/core/v16/ffmpeg/skills"
|
||||
)
|
||||
|
||||
type Node interface {
|
||||
@@ -24,6 +25,7 @@ type Node interface {
|
||||
CoreStatus() (string, error)
|
||||
CoreEssentials() (string, *config.Config, error)
|
||||
CoreConfig() (*config.Config, error)
|
||||
CoreSkills() (skills.Skills, error)
|
||||
CoreAPIAddress() (string, error)
|
||||
|
||||
Proxy() proxy.Node
|
||||
@@ -205,6 +207,10 @@ func (n *node) CoreConfig() (*config.Config, error) {
|
||||
return n.client.CoreConfig()
|
||||
}
|
||||
|
||||
func (n *node) CoreSkills() (skills.Skills, error) {
|
||||
return n.client.CoreSkills()
|
||||
}
|
||||
|
||||
func (n *node) CoreAPIAddress() (string, error) {
|
||||
return n.client.CoreAPIAddress()
|
||||
}
|
||||
|
Reference in New Issue
Block a user