Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPC ¶
type GRPC struct { EtcdClient *clientv3.Client Host string Port int AppName string pb.UnimplementedCollectorServer // contains filtered or unexported fields }
func (*GRPC) CrawlMetadata ¶
func (g *GRPC) CrawlMetadata(ctx context.Context, req *wrapperspb.StringValue) (*pb.CrawlCounter, error)
func (*GRPC) StoreMetadata ¶
func (g *GRPC) StoreMetadata(ctx context.Context, req *wrapperspb.StringValue) (*pb.StoreCounter, error)
Click to show internal directories.
Click to hide internal directories.