command

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObservatoryService_GetOutboundStatus_FullMethodName = "/xray.core.app.observatory.command.ObservatoryService/GetOutboundStatus"
)

Variables

View Source
var File_app_observatory_command_command_proto protoreflect.FileDescriptor
View Source
var ObservatoryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "xray.core.app.observatory.command.ObservatoryService",
	HandlerType: (*ObservatoryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOutboundStatus",
			Handler:    _ObservatoryService_GetOutboundStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "app/observatory/command/command.proto",
}

ObservatoryService_ServiceDesc is the grpc.ServiceDesc for ObservatoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterObservatoryServiceServer

func RegisterObservatoryServiceServer(s grpc.ServiceRegistrar, srv ObservatoryServiceServer)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type GetOutboundStatusRequest

type GetOutboundStatusRequest struct {
	// contains filtered or unexported fields
}

func (*GetOutboundStatusRequest) Descriptor deprecated

func (*GetOutboundStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOutboundStatusRequest.ProtoReflect.Descriptor instead.

func (*GetOutboundStatusRequest) ProtoMessage

func (*GetOutboundStatusRequest) ProtoMessage()

func (*GetOutboundStatusRequest) ProtoReflect

func (x *GetOutboundStatusRequest) ProtoReflect() protoreflect.Message

func (*GetOutboundStatusRequest) Reset

func (x *GetOutboundStatusRequest) Reset()

func (*GetOutboundStatusRequest) String

func (x *GetOutboundStatusRequest) String() string

type GetOutboundStatusResponse

type GetOutboundStatusResponse struct {
	Status *observatory.ObservationResult `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOutboundStatusResponse) Descriptor deprecated

func (*GetOutboundStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOutboundStatusResponse.ProtoReflect.Descriptor instead.

func (*GetOutboundStatusResponse) GetStatus

func (*GetOutboundStatusResponse) ProtoMessage

func (*GetOutboundStatusResponse) ProtoMessage()

func (*GetOutboundStatusResponse) ProtoReflect

func (*GetOutboundStatusResponse) Reset

func (x *GetOutboundStatusResponse) Reset()

func (*GetOutboundStatusResponse) String

func (x *GetOutboundStatusResponse) String() string

type ObservatoryServiceClient

type ObservatoryServiceClient interface {
	GetOutboundStatus(ctx context.Context, in *GetOutboundStatusRequest, opts ...grpc.CallOption) (*GetOutboundStatusResponse, error)
}

ObservatoryServiceClient is the client API for ObservatoryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ObservatoryServiceServer

type ObservatoryServiceServer interface {
	GetOutboundStatus(context.Context, *GetOutboundStatusRequest) (*GetOutboundStatusResponse, error)
	// contains filtered or unexported methods
}

ObservatoryServiceServer is the server API for ObservatoryService service. All implementations must embed UnimplementedObservatoryServiceServer for forward compatibility

type UnimplementedObservatoryServiceServer

type UnimplementedObservatoryServiceServer struct {
}

UnimplementedObservatoryServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedObservatoryServiceServer) GetOutboundStatus

type UnsafeObservatoryServiceServer

type UnsafeObservatoryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeObservatoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObservatoryServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL