13 lines
198 B
Go
13 lines
198 B
Go
|
package metadata
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
var ErrMetadataNotAvailable = errors.New("metadata not available")
|
||
|
|
||
|
type Collector interface {
|
||
|
Collect(context.Context) (string, string, error)
|
||
|
}
|