This commit is contained in:
jackdaw@loafle.com 2017-04-14 17:17:21 +09:00
parent e325cf52d0
commit 7f0c37578e

View File

@ -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
}
func (c *GRPCPool)GetClient(container string,port string) (*grpc.ClientConn, error) {
return grpc.Dial("localhost:50000", grpc.WithInsecure())
}