Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 490 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 490 Bytes

@globalworldwide/grpc-resolvers

Custom resolvers for @grpc/grpc-js

K8SResolver

FixedResolver

Register Resolvers with @grpc/grpc-js

import { experimental } from '@grpc/grpc-js'
import { FixedResolver, K8SResolver } from '@globalworldwide/grpc-resolvers'

experimental.registerResolver('fixed', FixedResolver)
experimental.registerResolver('k8s', K8SResolver)

Tracing

export GRPC_TRACE=fixed-resolver,k8s-resolver
export GRPC_VERBOSITY=debug