mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-30 01:17:21 +02:00
connect: add gRPC keep-alive (#4961)
This commit is contained in:
parent
c6d1f17100
commit
2db2bd09a1
3 changed files with 18 additions and 4 deletions
|
@ -25,8 +25,9 @@ func New(
|
|||
ctx context.Context,
|
||||
endpoint string,
|
||||
tokenProvider TokenProviderFn,
|
||||
dialOpts ...grpc.DialOption,
|
||||
) (*grpc.ClientConn, error) {
|
||||
cfg, err := getConfig(endpoint)
|
||||
cfg, err := getConfig(endpoint, dialOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue