grpc_pool/pool_handler.go
crusader 16ddb936c5 ing
2017-11-09 14:47:37 +09:00

17 lines
254 B
Go

package overflow_grpc_pool
import (
"time"
"google.golang.org/grpc"
)
type PoolHandler interface {
Dial() (conn *grpc.ClientConn, client interface{}, err error)
GetIdleTimeout() time.Duration
GetMaxIdle() int
GetMaxCapacity() int
Validate()
}