Documentation
¶
Index ¶
- Variables
- func RegisterChromeServiceServer(s *grpc.Server, srv ChromeServiceServer)
- type ChromeServiceClient
- type ChromeServiceServer
- type EvalOnTestAPIConnRequest
- func (*EvalOnTestAPIConnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvalOnTestAPIConnRequest) GetExpr() string
- func (*EvalOnTestAPIConnRequest) ProtoMessage()
- func (x *EvalOnTestAPIConnRequest) ProtoReflect() protoreflect.Message
- func (x *EvalOnTestAPIConnRequest) Reset()
- func (x *EvalOnTestAPIConnRequest) String() string
- type EvalOnTestAPIConnResponse
- func (*EvalOnTestAPIConnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvalOnTestAPIConnResponse) GetValueJson() string
- func (*EvalOnTestAPIConnResponse) ProtoMessage()
- func (x *EvalOnTestAPIConnResponse) ProtoReflect() protoreflect.Message
- func (x *EvalOnTestAPIConnResponse) Reset()
- func (x *EvalOnTestAPIConnResponse) String() string
- type UnimplementedChromeServiceServer
- func (*UnimplementedChromeServiceServer) Close(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedChromeServiceServer) EvalOnTestAPIConn(context.Context, *EvalOnTestAPIConnRequest) (*EvalOnTestAPIConnResponse, error)
- func (*UnimplementedChromeServiceServer) New(context.Context, *empty.Empty) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sample_chrome_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChromeServiceServer ¶
func RegisterChromeServiceServer(s *grpc.Server, srv ChromeServiceServer)
Types ¶
type ChromeServiceClient ¶
type ChromeServiceClient interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. New(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Close releases the resources obtained by New. Close(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // EvalOnTestAPIConn evaluates a JavaScript expression in the test extension // background page. EvalOnTestAPIConn(ctx context.Context, in *EvalOnTestAPIConnRequest, opts ...grpc.CallOption) (*EvalOnTestAPIConnResponse, error) }
ChromeServiceClient is the client API for ChromeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChromeServiceClient ¶
func NewChromeServiceClient(cc grpc.ClientConnInterface) ChromeServiceClient
type ChromeServiceServer ¶
type ChromeServiceServer interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. New(context.Context, *empty.Empty) (*empty.Empty, error) // Close releases the resources obtained by New. Close(context.Context, *empty.Empty) (*empty.Empty, error) // EvalOnTestAPIConn evaluates a JavaScript expression in the test extension // background page. EvalOnTestAPIConn(context.Context, *EvalOnTestAPIConnRequest) (*EvalOnTestAPIConnResponse, error) }
ChromeServiceServer is the server API for ChromeService service.
type EvalOnTestAPIConnRequest ¶
type EvalOnTestAPIConnRequest struct { Expr string `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` // contains filtered or unexported fields }
func (*EvalOnTestAPIConnRequest) Descriptor
deprecated
func (*EvalOnTestAPIConnRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvalOnTestAPIConnRequest.ProtoReflect.Descriptor instead.
func (*EvalOnTestAPIConnRequest) GetExpr ¶
func (x *EvalOnTestAPIConnRequest) GetExpr() string
func (*EvalOnTestAPIConnRequest) ProtoMessage ¶
func (*EvalOnTestAPIConnRequest) ProtoMessage()
func (*EvalOnTestAPIConnRequest) ProtoReflect ¶
func (x *EvalOnTestAPIConnRequest) ProtoReflect() protoreflect.Message
func (*EvalOnTestAPIConnRequest) Reset ¶
func (x *EvalOnTestAPIConnRequest) Reset()
func (*EvalOnTestAPIConnRequest) String ¶
func (x *EvalOnTestAPIConnRequest) String() string
type EvalOnTestAPIConnResponse ¶
type EvalOnTestAPIConnResponse struct { ValueJson string `protobuf:"bytes,1,opt,name=value_json,json=valueJson,proto3" json:"value_json,omitempty"` // contains filtered or unexported fields }
func (*EvalOnTestAPIConnResponse) Descriptor
deprecated
func (*EvalOnTestAPIConnResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvalOnTestAPIConnResponse.ProtoReflect.Descriptor instead.
func (*EvalOnTestAPIConnResponse) GetValueJson ¶
func (x *EvalOnTestAPIConnResponse) GetValueJson() string
func (*EvalOnTestAPIConnResponse) ProtoMessage ¶
func (*EvalOnTestAPIConnResponse) ProtoMessage()
func (*EvalOnTestAPIConnResponse) ProtoReflect ¶
func (x *EvalOnTestAPIConnResponse) ProtoReflect() protoreflect.Message
func (*EvalOnTestAPIConnResponse) Reset ¶
func (x *EvalOnTestAPIConnResponse) Reset()
func (*EvalOnTestAPIConnResponse) String ¶
func (x *EvalOnTestAPIConnResponse) String() string
type UnimplementedChromeServiceServer ¶
type UnimplementedChromeServiceServer struct { }
UnimplementedChromeServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedChromeServiceServer) EvalOnTestAPIConn ¶
func (*UnimplementedChromeServiceServer) EvalOnTestAPIConn(context.Context, *EvalOnTestAPIConnRequest) (*EvalOnTestAPIConnResponse, error)
Click to show internal directories.
Click to hide internal directories.