Versions in this module Expand all Collapse all v0 v0.0.6 Jun 23, 2022 Changes in this version + var File_tasks_proto protoreflect.FileDescriptor + var TasksService_ServiceDesc = grpc.ServiceDesc + func RegisterTasksServiceServer(s grpc.ServiceRegistrar, srv TasksServiceServer) + type CompleteRequest struct + GroupSlug string + Id string + Scrape *Scrape + ScrapeId string + SearchTerm string + TaskId int64 + Url string + func (*CompleteRequest) Descriptor() ([]byte, []int) + func (*CompleteRequest) ProtoMessage() + func (x *CompleteRequest) GetGroupSlug() string + func (x *CompleteRequest) GetId() string + func (x *CompleteRequest) GetScrape() *Scrape + func (x *CompleteRequest) GetScrapeId() string + func (x *CompleteRequest) GetSearchTerm() string + func (x *CompleteRequest) GetTaskId() int64 + func (x *CompleteRequest) GetUrl() string + func (x *CompleteRequest) ProtoReflect() protoreflect.Message + func (x *CompleteRequest) Reset() + func (x *CompleteRequest) String() string + type Content struct + Body string + ExternalLinks string + H1 string + H2 string + Title string + func (*Content) Descriptor() ([]byte, []int) + func (*Content) ProtoMessage() + func (x *Content) GetBody() string + func (x *Content) GetExternalLinks() string + func (x *Content) GetH1() string + func (x *Content) GetH2() string + func (x *Content) GetTitle() string + func (x *Content) ProtoReflect() protoreflect.Message + func (x *Content) Reset() + func (x *Content) String() string + type Metrics struct + AhrefsDa int64 + Backlinks string + LoadingTime string + MajesticCf int64 + MajesticTf int64 + MozDa int64 + MozPa int64 + MozSpamScore int64 + func (*Metrics) Descriptor() ([]byte, []int) + func (*Metrics) ProtoMessage() + func (x *Metrics) GetAhrefsDa() int64 + func (x *Metrics) GetBacklinks() string + func (x *Metrics) GetLoadingTime() string + func (x *Metrics) GetMajesticCf() int64 + func (x *Metrics) GetMajesticTf() int64 + func (x *Metrics) GetMozDa() int64 + func (x *Metrics) GetMozPa() int64 + func (x *Metrics) GetMozSpamScore() int64 + func (x *Metrics) ProtoReflect() protoreflect.Message + func (x *Metrics) Reset() + func (x *Metrics) String() string + type Response struct + Error bool + Message string + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetError() bool + func (x *Response) GetMessage() string + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type Scrape struct + Content *Content + HttpStatus int64 + Id string + Metrics *Metrics + Url string + func (*Scrape) Descriptor() ([]byte, []int) + func (*Scrape) ProtoMessage() + func (x *Scrape) GetContent() *Content + func (x *Scrape) GetHttpStatus() int64 + func (x *Scrape) GetId() string + func (x *Scrape) GetMetrics() *Metrics + func (x *Scrape) GetUrl() string + func (x *Scrape) ProtoReflect() protoreflect.Message + func (x *Scrape) Reset() + func (x *Scrape) String() string + type TasksServiceClient interface + CompleteTask func(ctx context.Context, in *CompleteRequest, opts ...grpc.CallOption) (*Response, error) + func NewTasksServiceClient(cc grpc.ClientConnInterface) TasksServiceClient + type TasksServiceServer interface + CompleteTask func(context.Context, *CompleteRequest) (*Response, error) + type UnimplementedTasksServiceServer struct + func (UnimplementedTasksServiceServer) CompleteTask(context.Context, *CompleteRequest) (*Response, error) + type UnsafeTasksServiceServer interface