mirror of
https://github.com/go-gost/core.git
synced 2026-10-19 16:16:17 +00:00
feat(recorder): add Metadata field to RecorderObject for plugin recorder metadata forwarding (#412)
This commit is contained in:
@@ -39,6 +39,9 @@ type RecorderObject struct {
|
||||
Record string
|
||||
// Options configures what data is recorded.
|
||||
Options *Options
|
||||
// Metadata is arbitrary metadata attached to the recorder,
|
||||
// forwarded to plugin recorders on every Record call.
|
||||
Metadata map[string]any
|
||||
}
|
||||
|
||||
// Options configures a Recorder's behavior.
|
||||
|
||||
Reference in New Issue
Block a user