.
This commit is contained in:
parent
e325cf52d0
commit
7f0c37578e
|
@ -2,8 +2,9 @@ package crawler_manager
|
|||
|
||||
import "google.golang.org/grpc"
|
||||
|
||||
func (c *crawler_manager)GetClient(container string) (*grpc.ClientConn, error) {
|
||||
|
||||
|
||||
return nil, nil
|
||||
type GRPCPool struct {
|
||||
}
|
||||
|
||||
func (c *GRPCPool)GetClient(container string,port string) (*grpc.ClientConn, error) {
|
||||
return grpc.Dial("localhost:50000", grpc.WithInsecure())
|
||||
}
|
Loading…
Reference in New Issue
Block a user