@globalworldwide/grpc-resolvers

0.4.2 • Public • Published

@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

Dependents (1)

Package Sidebar

Install

npm i @globalworldwide/grpc-resolvers

Weekly Downloads

2,952

Version

0.4.2

License

MIT

Unpacked Size

99.8 kB

Total Files

53

Last publish

Collaborators

  • markwallace
  • jlungaro
  • acondict-gww
  • km-kixeye
  • techieyann
  • mdouglass
  • mduffy_gww
  • sqmk
  • sencerd
  • callsop
  • randerson_kix
  • ddudnikov
  • greenaar
  • bill-npm