mirror of
https://github.com/datarhei/core.git
synced 2025-12-24 13:07:56 +08:00
Fix comment, remove unneeded logging field
This commit is contained in:
@@ -96,7 +96,7 @@ func New(config Config) *Node {
|
||||
n.config = coreConfig
|
||||
n.skills = coreSkills
|
||||
|
||||
n.core = NewCore(n.id, n.logger.WithComponent("ClusterCore").WithField("address", address))
|
||||
n.core = NewCore(n.id, n.logger.WithComponent("ClusterCore"))
|
||||
n.core.SetEssentials(address, coreConfig)
|
||||
|
||||
n.coreLastErr = err
|
||||
|
||||
@@ -58,7 +58,7 @@ type RestClient interface {
|
||||
FilesystemAddFile(storage, path string, data io.Reader) error // PUT /v3/fs/{storage}/{path}
|
||||
|
||||
Events(ctx context.Context, filters api.EventFilters) (<-chan api.LogEvent, error) // POST /v3/events
|
||||
MediaEvents(ctx context.Context, storage, pattern string) (<-chan api.MediaEvent, error) // GET /v3/fs/{storage}, GET /v3/(rtmp|srt)
|
||||
MediaEvents(ctx context.Context, storage, pattern string) (<-chan api.MediaEvent, error) // GET /v3/events/media/{storage}
|
||||
|
||||
ProcessList(opts ProcessListOptions) ([]api.Process, error) // GET /v3/process
|
||||
ProcessAdd(p *app.Config, metadata map[string]any) error // POST /v3/process
|
||||
|
||||
Reference in New Issue
Block a user