selserv

package
v0.0.0-...-f2dd15e Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_proto_seleniumserver_proto protoreflect.FileDescriptor
View Source
var SeleniumServer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "selserv.SeleniumServer",
	HandlerType: (*SeleniumServerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHtml",
			Handler:    _SeleniumServer_GetHtml_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/proto/seleniumserver.proto",
}

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

Functions

func RegisterSeleniumServerServer

func RegisterSeleniumServerServer(s grpc.ServiceRegistrar, srv SeleniumServerServer)

Types

type HtmlArgs

type HtmlArgs struct {
	Url string `protobuf:"bytes,1,opt,name=Url,proto3" json:"Url,omitempty"`
	// contains filtered or unexported fields
}

func (*HtmlArgs) Descriptor deprecated

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

Deprecated: Use HtmlArgs.ProtoReflect.Descriptor instead.

func (*HtmlArgs) GetUrl

func (x *HtmlArgs) GetUrl() string

func (*HtmlArgs) ProtoMessage

func (*HtmlArgs) ProtoMessage()

func (*HtmlArgs) ProtoReflect

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

func (*HtmlArgs) Reset

func (x *HtmlArgs) Reset()

func (*HtmlArgs) String

func (x *HtmlArgs) String() string

type HtmlResponse

type HtmlResponse struct {
	Html string `protobuf:"bytes,1,opt,name=Html,proto3" json:"Html,omitempty"`
	// contains filtered or unexported fields
}

func (*HtmlResponse) Descriptor deprecated

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

Deprecated: Use HtmlResponse.ProtoReflect.Descriptor instead.

func (*HtmlResponse) GetHtml

func (x *HtmlResponse) GetHtml() string

func (*HtmlResponse) ProtoMessage

func (*HtmlResponse) ProtoMessage()

func (*HtmlResponse) ProtoReflect

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

func (*HtmlResponse) Reset

func (x *HtmlResponse) Reset()

func (*HtmlResponse) String

func (x *HtmlResponse) String() string

type SeleniumServerClient

type SeleniumServerClient interface {
	GetHtml(ctx context.Context, in *HtmlArgs, opts ...grpc.CallOption) (*HtmlResponse, error)
}

SeleniumServerClient is the client API for SeleniumServer 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 SeleniumServerServer

type SeleniumServerServer interface {
	GetHtml(context.Context, *HtmlArgs) (*HtmlResponse, error)
	// contains filtered or unexported methods
}

SeleniumServerServer is the server API for SeleniumServer service. All implementations must embed UnimplementedSeleniumServerServer for forward compatibility

type UnimplementedSeleniumServerServer

type UnimplementedSeleniumServerServer struct {
}

UnimplementedSeleniumServerServer must be embedded to have forward compatible implementations.

func (UnimplementedSeleniumServerServer) GetHtml

type UnsafeSeleniumServerServer

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

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

Jump to

Keyboard shortcuts

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