1
0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-02-24 09:40:43 +00:00

19 lines
295 B
Go
Raw Normal View History

package extension
import (
"context"
"github.com/xtls/xray-core/features"
"google.golang.org/protobuf/proto"
)
type Observatory interface {
features.Feature
GetObservation(ctx context.Context) (proto.Message, error)
}
func ObservatoryType() interface{} {
return (*Observatory)(nil)
}