diff --git a/connection_pool.go b/connection_pool.go index 973e899..0f3fa10 100644 --- a/connection_pool.go +++ b/connection_pool.go @@ -2,8 +2,9 @@ package crawler_manager import "google.golang.org/grpc" -func (c *crawler_manager)GetClient(container string) (*grpc.ClientConn, error) { +type GRPCPool struct { +} - - return nil, nil -} \ No newline at end of file +func (c *GRPCPool)GetClient(container string,port string) (*grpc.ClientConn, error) { + return grpc.Dial("localhost:50000", grpc.WithInsecure()) +}