Documentation ¶
Index ¶
- Variables
- func RegisterLighthouseServiceServer(s grpc.ServiceRegistrar, srv LighthouseServiceServer)
- type LighthouseRequest
- func (*LighthouseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LighthouseRequest) GetChromeflags() []string
- func (x *LighthouseRequest) GetOptions() []string
- func (x *LighthouseRequest) GetUrl() string
- func (*LighthouseRequest) ProtoMessage()
- func (x *LighthouseRequest) ProtoReflect() protoreflect.Message
- func (x *LighthouseRequest) Reset()
- func (x *LighthouseRequest) String() string
- type LighthouseResult
- type LighthouseServiceClient
- type LighthouseServiceServer
- type Server
- type UnimplementedLighthouseServiceServer
- type UnsafeLighthouseServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_lighthouse_proto protoreflect.FileDescriptor
Functions ¶
func RegisterLighthouseServiceServer ¶
func RegisterLighthouseServiceServer(s grpc.ServiceRegistrar, srv LighthouseServiceServer)
Types ¶
type LighthouseRequest ¶
type LighthouseRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Options []string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` Chromeflags []string `protobuf:"bytes,3,rep,name=chromeflags,proto3" json:"chromeflags,omitempty"` // contains filtered or unexported fields }
func (*LighthouseRequest) Descriptor
deprecated
func (*LighthouseRequest) Descriptor() ([]byte, []int)
Deprecated: Use LighthouseRequest.ProtoReflect.Descriptor instead.
func (*LighthouseRequest) GetChromeflags ¶
func (x *LighthouseRequest) GetChromeflags() []string
func (*LighthouseRequest) GetOptions ¶
func (x *LighthouseRequest) GetOptions() []string
func (*LighthouseRequest) GetUrl ¶
func (x *LighthouseRequest) GetUrl() string
func (*LighthouseRequest) ProtoMessage ¶
func (*LighthouseRequest) ProtoMessage()
func (*LighthouseRequest) ProtoReflect ¶
func (x *LighthouseRequest) ProtoReflect() protoreflect.Message
func (*LighthouseRequest) Reset ¶
func (x *LighthouseRequest) Reset()
func (*LighthouseRequest) String ¶
func (x *LighthouseRequest) String() string
type LighthouseResult ¶
type LighthouseResult struct { Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // contains filtered or unexported fields }
func (*LighthouseResult) Descriptor
deprecated
func (*LighthouseResult) Descriptor() ([]byte, []int)
Deprecated: Use LighthouseResult.ProtoReflect.Descriptor instead.
func (*LighthouseResult) GetStdout ¶
func (x *LighthouseResult) GetStdout() []byte
func (*LighthouseResult) ProtoMessage ¶
func (*LighthouseResult) ProtoMessage()
func (*LighthouseResult) ProtoReflect ¶
func (x *LighthouseResult) ProtoReflect() protoreflect.Message
func (*LighthouseResult) Reset ¶
func (x *LighthouseResult) Reset()
func (*LighthouseResult) String ¶
func (x *LighthouseResult) String() string
type LighthouseServiceClient ¶
type LighthouseServiceClient interface {
Run(ctx context.Context, in *LighthouseRequest, opts ...grpc.CallOption) (*LighthouseResult, error)
}
LighthouseServiceClient is the client API for LighthouseService 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 NewLighthouseServiceClient ¶
func NewLighthouseServiceClient(cc grpc.ClientConnInterface) LighthouseServiceClient
type LighthouseServiceServer ¶
type LighthouseServiceServer interface { Run(context.Context, *LighthouseRequest) (*LighthouseResult, error) // contains filtered or unexported methods }
LighthouseServiceServer is the server API for LighthouseService service. All implementations must embed UnimplementedLighthouseServiceServer for forward compatibility
type Server ¶
type Server struct { UnimplementedLighthouseServiceServer UseDocker bool }
func (*Server) Run ¶
func (s *Server) Run(ctx context.Context, in *LighthouseRequest) (*LighthouseResult, error)
type UnimplementedLighthouseServiceServer ¶
type UnimplementedLighthouseServiceServer struct { }
UnimplementedLighthouseServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLighthouseServiceServer) Run ¶
func (UnimplementedLighthouseServiceServer) Run(context.Context, *LighthouseRequest) (*LighthouseResult, error)
type UnsafeLighthouseServiceServer ¶
type UnsafeLighthouseServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLighthouseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LighthouseServiceServer will result in compilation errors.