2020-06-10 20:47:35 +00:00
|
|
|
package consul
|
|
|
|
|
|
|
|
import (
|
2020-09-08 21:31:47 +00:00
|
|
|
"github.com/hashicorp/consul/agent/grpc"
|
2020-06-10 20:47:35 +00:00
|
|
|
"github.com/hashicorp/consul/agent/pool"
|
2020-08-27 15:23:52 +00:00
|
|
|
"github.com/hashicorp/consul/agent/router"
|
2020-06-10 20:47:35 +00:00
|
|
|
"github.com/hashicorp/consul/agent/token"
|
|
|
|
"github.com/hashicorp/consul/tlsutil"
|
|
|
|
"github.com/hashicorp/go-hclog"
|
|
|
|
)
|
|
|
|
|
2020-09-14 22:31:07 +00:00
|
|
|
type Deps struct {
|
|
|
|
Logger hclog.InterceptLogger
|
|
|
|
TLSConfigurator *tlsutil.Configurator
|
|
|
|
Tokens *token.Store
|
|
|
|
Router *router.Router
|
|
|
|
ConnPool *pool.ConnPool
|
2020-09-08 21:31:47 +00:00
|
|
|
GRPCConnPool *grpc.ClientConnPool
|
2020-06-10 20:47:35 +00:00
|
|
|
}
|