mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
19 lines
300 B
Go
19 lines
300 B
Go
package extension
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/golang/protobuf/proto"
|
|
|
|
"github.com/v2fly/v2ray-core/v5/features"
|
|
)
|
|
|
|
type Observatory interface {
|
|
features.Feature
|
|
GetObservation(ctx context.Context) (proto.Message, error)
|
|
}
|
|
|
|
func ObservatoryType() interface{} {
|
|
return (*Observatory)(nil)
|
|
}
|