Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAmspiderService, config.NewHTTPServerConfig, config.NewGrpcServerConfig)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AmspiderService ¶
type AmspiderService struct { pb.UnimplementedSpiderServer // contains filtered or unexported fields }
func NewAmspiderService ¶
func NewAmspiderService(amSpider *biz.AmSpider, logger log.Logger) *AmspiderService
func (*AmspiderService) Crawl ¶
func (s *AmspiderService) Crawl(ctx context.Context, _ *commonPb.Empty) (*pb.CrawlResponse, error)
Click to show internal directories.
Click to hide internal directories.