Directories ¶
Path | Synopsis |
---|---|
cluster/adaptivesvc
Package adaptivesvc implements adaptive service cluster strategy.
|
Package adaptivesvc implements adaptive service cluster strategy. |
cluster/available
Package available implements Available cluster strategy.
|
Package available implements Available cluster strategy. |
cluster/base
Package base implements invoker for the manipulation of cluster strategy.
|
Package base implements invoker for the manipulation of cluster strategy. |
cluster/broadcast
Package broadcast implements Broadcast cluster strategy.
|
Package broadcast implements Broadcast cluster strategy. |
cluster/failback
Package failback implements Failback cluster strategy.
|
Package failback implements Failback cluster strategy. |
cluster/failfast
Package failfast implements Failfast cluster strategy.
|
Package failfast implements Failfast cluster strategy. |
cluster/failover
Package failover implements Failover cluster strategy.
|
Package failover implements Failover cluster strategy. |
cluster/failsafe
Package failsafe implements Failsafe cluster strategy.
|
Package failsafe implements Failsafe cluster strategy. |
cluster/forking
Package forking implements forking cluster strategy.
|
Package forking implements forking cluster strategy. |
cluster/zoneaware
Package zoneaware implements zoneaware cluster strategy.
|
Package zoneaware implements zoneaware cluster strategy. |
cluster_impl
Package cluster_impl is for being compatible with older dubbo-go, please use `imports` package.
|
Package cluster_impl is for being compatible with older dubbo-go, please use `imports` package. |
loadbalance/consistenthashing
Package consistenthashing implements ConsistentHash load balance strategy.
|
Package consistenthashing implements ConsistentHash load balance strategy. |
loadbalance/leastactive
Package leastactive implements LeastActive load balance strategy.
|
Package leastactive implements LeastActive load balance strategy. |
loadbalance/p2c
Package p2c implements p2c load balance strategy.
|
Package p2c implements p2c load balance strategy. |
loadbalance/random
Package random implements Random load balance strategy.
|
Package random implements Random load balance strategy. |
loadbalance/roundrobin
Package roundrobin implements RoundRobin load balance strategy.
|
Package roundrobin implements RoundRobin load balance strategy. |
metrics
Package mock_metrics is a generated GoMock package.
|
Package mock_metrics is a generated GoMock package. |
Package config defines the Dubbo-go config, which carries ApplicationConfig、 RegisterConfig、ProtocolConfig、RouterConfig and MetadataReportConfig etc.
|
Package config defines the Dubbo-go config, which carries ApplicationConfig、 RegisterConfig、ProtocolConfig、RouterConfig and MetadataReportConfig etc. |
Package config_center defines interfaces to be implemented by Config Center driver.
|
Package config_center defines interfaces to be implemented by Config Center driver. |
apollo
Package apollo implements config center around Apollo.
|
Package apollo implements config center around Apollo. |
file
Package file implements config center around file system.
|
Package file implements config center around file system. |
nacos
Package nacos implements config center around Nacos.
|
Package nacos implements config center around Nacos. |
zookeeper
Package zookeeper implements config center around zookeeper.
|
Package zookeeper implements config center around zookeeper. |
Package filter defines the functions of a filter.
|
Package filter defines the functions of a filter. |
accesslog
Package accesslog providers logging filter.
|
Package accesslog providers logging filter. |
adaptivesvc
Package adaptivesvc providers AdaptiveService filter.
|
Package adaptivesvc providers AdaptiveService filter. |
auth
Package auth providers authorization filter.
|
Package auth providers authorization filter. |
echo
Package echo providers health check filter.
|
Package echo providers health check filter. |
exec_limit
Package exec_limit provides a filter for limiting the number of in-progress request and it's thread-safe.
|
Package exec_limit provides a filter for limiting the number of in-progress request and it's thread-safe. |
filter_impl
Package filter_impl is for being compatible with older dubbo-go, please use `imports` package.
|
Package filter_impl is for being compatible with older dubbo-go, please use `imports` package. |
generic
Package generic provides generic invoke filter.
|
Package generic provides generic invoke filter. |
graceful_shutdown
Package graceful_shutdown provides a filter for shutting down gracefully.
|
Package graceful_shutdown provides a filter for shutting down gracefully. |
handler
Package filter is a generated GoMock package.
|
Package filter is a generated GoMock package. |
hystrix
Package hystrix provides hystrix filter.
|
Package hystrix provides hystrix filter. |
metrics
Package metrics provides metrics collection filter.
|
Package metrics provides metrics collection filter. |
otel/trace
Package trace instruments dubbogo with open-telemetry (https://github.com/open-telemetry/opentelemetry-go).
|
Package trace instruments dubbogo with open-telemetry (https://github.com/open-telemetry/opentelemetry-go). |
seata
Package seata provides a filter when use seata-golang, use this filter to transfer xid.
|
Package seata provides a filter when use seata-golang, use this filter to transfer xid. |
sentinel
Package sentinel provides a filter when using sentinel.
|
Package sentinel provides a filter when using sentinel. |
token
Package token provides token filter.
|
Package token provides token filter. |
tps
Package tps provides a filter for limiting the requests by TPS.
|
Package tps provides a filter for limiting the requests by TPS. |
tps/limiter
Package filter is a generated GoMock package.
|
Package filter is a generated GoMock package. |
tps/strategy
Package filter is a generated GoMock package.
|
Package filter is a generated GoMock package. |
tracing
Package tracing provides tracing collection filter.
|
Package tracing provides tracing collection filter. |
metadata
|
|
Package metrics define interfaces for metrics collection.
|
Package metrics define interfaces for metrics collection. |
dubbo
Package dubbo implements dubbo rpc protocol.
|
Package dubbo implements dubbo rpc protocol. |
dubbo3
Package dubbo3 implements dubbo3.0 rpc protocol.
|
Package dubbo3 implements dubbo3.0 rpc protocol. |
dubbo3/reflection
Package reflection implements server reflection service.
|
Package reflection implements server reflection service. |
grpc
Package grpc implements grpc rpc protocol.
|
Package grpc implements grpc rpc protocol. |
jsonrpc
Package jsonrpc implements json rpc protocol.
|
Package jsonrpc implements json rpc protocol. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
rest
Package rest implements restful rpc protocol.
|
Package rest implements restful rpc protocol. |
Package registry defines interfaces to be implemented by service register and service discovery driver.
|
Package registry defines interfaces to be implemented by service register and service discovery driver. |
directory
Package directory implements registry around file system.
|
Package directory implements registry around file system. |
etcdv3
Package etcdv3 implements registry around etcd.
|
Package etcdv3 implements registry around etcd. |
nacos
Package nacos implements registry around Nacos.
|
Package nacos implements registry around Nacos. |
polaris
Package polaris implements registry around polaris.
|
Package polaris implements registry around polaris. |
zookeeper
Package zookeeper implements registry around zookeeper.
|
Package zookeeper implements registry around zookeeper. |
Package remoting provides facilities for decoding and encoding, client and server.
|
Package remoting provides facilities for decoding and encoding, client and server. |
balancer
Package balancer installs all the xds balancers.
|
Package balancer installs all the xds balancers. |
balancer/cdsbalancer
Package cdsbalancer implements a balancer to handle CDS responses.
|
Package cdsbalancer implements a balancer to handle CDS responses. |
balancer/clusterimpl
Package clusterimpl implements the xds_cluster_impl balancing policy.
|
Package clusterimpl implements the xds_cluster_impl balancing policy. |
balancer/clustermanager
Package clustermanager implements the cluster manager LB policy for xds.
|
Package clustermanager implements the cluster manager LB policy for xds. |
balancer/clusterresolver
Package clusterresolver contains EDS balancer implementation.
|
Package clusterresolver contains EDS balancer implementation. |
balancer/loadstore
Package loadstore contains the loadStoreWrapper shared by the balancers.
|
Package loadstore contains the loadStoreWrapper shared by the balancers. |
balancer/orca
Package orca implements Open Request Cost Aggregation.
|
Package orca implements Open Request Cost Aggregation. |
balancer/priority
Package priority implements the priority balancer.
|
Package priority implements the priority balancer. |
balancer/ringhash
Package ringhash implements the ringhash balancer.
|
Package ringhash implements the ringhash balancer. |
client
package client implements a full fledged gRPC client for the xDS API used by the xds resolver and balancer implementations.
|
package client implements a full fledged gRPC client for the xDS API used by the xds resolver and balancer implementations. |
client/bootstrap
Package bootstrap provides the functionality to initialize certain aspects of an xDS client by reading a bootstrap file.
|
Package bootstrap provides the functionality to initialize certain aspects of an xDS client by reading a bootstrap file. |
client/controller
Package controller contains implementation to connect to the control plane.
|
Package controller contains implementation to connect to the control plane. |
client/controller/version
Package version defines APIs to deal with different versions of xDS.
|
Package version defines APIs to deal with different versions of xDS. |
client/controller/version/v2
Package v2 provides xDS v2 transport protocol specific functionality.
|
Package v2 provides xDS v2 transport protocol specific functionality. |
client/controller/version/v3
Package v3 provides xDS v3 transport protocol specific functionality.
|
Package v3 provides xDS v3 transport protocol specific functionality. |
client/load
Package load provides functionality to record and maintain load data.
|
Package load provides functionality to record and maintain load data. |
client/pubsub
Package pubsub implements a utility type to maintain resource watchers and the updates.
|
Package pubsub implements a utility type to maintain resource watchers and the updates. |
client/resource
Package internal contains functions/structs shared by xds balancers/resolvers.
|
Package internal contains functions/structs shared by xds balancers/resolvers. |
client/resource/version
Package version defines constants to distinguish between supported xDS API versions.
|
Package version defines constants to distinguish between supported xDS API versions. |
clusterspecifier
Package clusterspecifier contains the ClusterSpecifier interface and a registry for storing and retrieving their implementations.
|
Package clusterspecifier contains the ClusterSpecifier interface and a registry for storing and retrieving their implementations. |
csds
Package csds implements features to dump the status (xDS responses) the xds_client is using.
|
Package csds implements features to dump the status (xDS responses) the xds_client is using. |
httpfilter
Package httpfilter contains the HTTPFilter interface and a registry for storing and retrieving their implementations.
|
Package httpfilter contains the HTTPFilter interface and a registry for storing and retrieving their implementations. |
httpfilter/fault
Package fault implements the Envoy Fault Injection HTTP filter.
|
Package fault implements the Envoy Fault Injection HTTP filter. |
httpfilter/rbac
Package rbac implements the Envoy RBAC HTTP filter.
|
Package rbac implements the Envoy RBAC HTTP filter. |
httpfilter/router
Package router implements the Envoy Router HTTP filter.
|
Package router implements the Envoy Router HTTP filter. |
internal
Package internal contains gRPC-internal code, to avoid polluting the godoc of the top-level grpc package.
|
Package internal contains gRPC-internal code, to avoid polluting the godoc of the top-level grpc package. |
resolver
Package resolver implements the xds resolver, that does LDS and RDS to find the cluster to use.
|
Package resolver implements the xds resolver, that does LDS and RDS to find the cluster to use. |
server
Package server contains internal server-side functionality used by the public facing xds package.
|
Package server contains internal server-side functionality used by the public facing xds package. |
utils/backoff
Package backoff implement the backoff strategy for gRPC.
|
Package backoff implement the backoff strategy for gRPC. |
utils/balancer/stub
Package stub implements a balancer for testing purposes.
|
Package stub implements a balancer for testing purposes. |
utils/balancergroup
Package balancergroup implements a utility struct to bind multiple balancers into one balancer.
|
Package balancergroup implements a utility struct to bind multiple balancers into one balancer. |
utils/balancerload
* * Copyright 2019 gRPC authors.
|
* * Copyright 2019 gRPC authors. |
utils/buffer
Package buffer provides an implementation of an unbounded buffer.
|
Package buffer provides an implementation of an unbounded buffer. |
utils/credentials/xds
Package xds contains non-user facing functionality of the xds credentials.
|
Package xds contains non-user facing functionality of the xds credentials. |
utils/envconfig
Package envconfig contains grpc settings configured by environment variables.
|
Package envconfig contains grpc settings configured by environment variables. |
utils/grpclog
Package grpclog (internal) defines depth logging for grpc.
|
Package grpclog (internal) defines depth logging for grpc. |
utils/grpcrand
Package grpcrand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source.
|
Package grpcrand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source. |
utils/grpcsync
Package grpcsync implements additional synchronization primitives built upon the sync package.
|
Package grpcsync implements additional synchronization primitives built upon the sync package. |
utils/grpcutil
Package grpcutil provides utility functions used across the gRPC codebase.
|
Package grpcutil provides utility functions used across the gRPC codebase. |
utils/hierarchy
Package hierarchy contains functions to set and get hierarchy string from addresses.
|
Package hierarchy contains functions to set and get hierarchy string from addresses. |
utils/matcher
Package matcher contains types that need to be shared between code under google.golang.org/grpc/xds/...
|
Package matcher contains types that need to be shared between code under google.golang.org/grpc/xds/... |
utils/pretty
Package pretty defines helper functions to pretty-print structs for logging.
|
Package pretty defines helper functions to pretty-print structs for logging. |
utils/rbac
Package rbac provides service-level and method-level access control for a service.
|
Package rbac provides service-level and method-level access control for a service. |
utils/resolver
Package resolver provides internal resolver-related functionality.
|
Package resolver provides internal resolver-related functionality. |
utils/resolver/passthrough
Package passthrough implements a pass-through resolver.
|
Package passthrough implements a pass-through resolver. |
utils/resolver/unix
Package unix implements a resolver for unix targets.
|
Package unix implements a resolver for unix targets. |
utils/serviceconfig
Package serviceconfig contains utility functions to parse service config.
|
Package serviceconfig contains utility functions to parse service config. |
utils/transport/networktype
Package networktype declares the network type to be used in the default dialer.
|
Package networktype declares the network type to be used in the default dialer. |
utils/wrr
Package wrr contains the interface and common implementations of wrr algorithms.
|
Package wrr contains the interface and common implementations of wrr algorithms. |
Click to show internal directories.
Click to hide internal directories.