ooshandler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OosHandler_SubmitUri_FullMethodName = "/veidemann.api.ooshandler.v1.OosHandler/SubmitUri"
)

Variables

View Source
var File_ooshandler_v1_ooshandler_proto protoreflect.FileDescriptor
View Source
var OosHandler_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "veidemann.api.ooshandler.v1.OosHandler",
	HandlerType: (*OosHandlerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitUri",
			Handler:    _OosHandler_SubmitUri_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ooshandler/v1/ooshandler.proto",
}

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

Functions

func RegisterOosHandlerServer

func RegisterOosHandlerServer(s grpc.ServiceRegistrar, srv OosHandlerServer)

Types

type OosHandlerClient

type OosHandlerClient interface {
	SubmitUri(ctx context.Context, in *SubmitUriRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

OosHandlerClient is the client API for OosHandler 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.

Service for handling discovered Uri's which are out of scope.

func NewOosHandlerClient

func NewOosHandlerClient(cc grpc.ClientConnInterface) OosHandlerClient

type OosHandlerServer

type OosHandlerServer interface {
	SubmitUri(context.Context, *SubmitUriRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

OosHandlerServer is the server API for OosHandler service. All implementations must embed UnimplementedOosHandlerServer for forward compatibility.

Service for handling discovered Uri's which are out of scope.

type SubmitUriRequest

type SubmitUriRequest struct {
	Uri *frontier.QueuedUri `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitUriRequest) Descriptor deprecated

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

Deprecated: Use SubmitUriRequest.ProtoReflect.Descriptor instead.

func (*SubmitUriRequest) GetUri

func (x *SubmitUriRequest) GetUri() *frontier.QueuedUri

func (*SubmitUriRequest) ProtoMessage

func (*SubmitUriRequest) ProtoMessage()

func (*SubmitUriRequest) ProtoReflect

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

func (*SubmitUriRequest) Reset

func (x *SubmitUriRequest) Reset()

func (*SubmitUriRequest) String

func (x *SubmitUriRequest) String() string

type UnimplementedOosHandlerServer

type UnimplementedOosHandlerServer struct{}

UnimplementedOosHandlerServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOosHandlerServer) SubmitUri

type UnsafeOosHandlerServer

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

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

Jump to

Keyboard shortcuts

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