Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_api_proto_seleniumserver_proto protoreflect.FileDescriptor
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) ProtoMessage ¶
func (*HtmlArgs) ProtoMessage()
func (*HtmlArgs) ProtoReflect ¶
func (x *HtmlArgs) ProtoReflect() protoreflect.Message
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.
func NewSeleniumServerClient ¶
func NewSeleniumServerClient(cc grpc.ClientConnInterface) SeleniumServerClient
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 ¶
func (UnimplementedSeleniumServerServer) GetHtml(context.Context, *HtmlArgs) (*HtmlResponse, error)
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.