Documentation ¶
Directories ¶
Path | Synopsis |
---|---|
Package client contains core part of Kitex client.
|
Package client contains core part of Kitex client. |
callopt
Package callopt contains options that control the behavior of client on request level.
|
Package callopt contains options that control the behavior of client on request level. |
genericclient
Package genericclient ...
|
Package genericclient ... |
client
Package client defines the Options of client
|
Package client defines the Options of client |
configutil
Package configutil .
|
Package configutil . |
mocks
Package mocks contains mocks of interfaces.
|
Package mocks contains mocks of interfaces. |
mocks/diagnosis
Package remote is a generated GoMock package.
|
Package remote is a generated GoMock package. |
mocks/discovery
Package discovery is a generated GoMock package.
|
Package discovery is a generated GoMock package. |
mocks/generic
Package generic is a generated GoMock package.
|
Package generic is a generated GoMock package. |
mocks/klog
Package klog is a generated GoMock package.
|
Package klog is a generated GoMock package. |
mocks/limiter
Package limiter is a generated GoMock package.
|
Package limiter is a generated GoMock package. |
mocks/loadbalance
Package loadbalance is a generated GoMock package.
|
Package loadbalance is a generated GoMock package. |
mocks/net
Package net is a generated GoMock package.
|
Package net is a generated GoMock package. |
mocks/netpoll
Package netpoll is a generated GoMock package.
|
Package netpoll is a generated GoMock package. |
mocks/proto/kitex_gen/pbapi/mock
Code generated by Kitex v0.9.1.
|
Code generated by Kitex v0.9.1. |
mocks/proxy
Package proxy is a generated GoMock package.
|
Package proxy is a generated GoMock package. |
mocks/remote
Package remote is a generated GoMock package.
|
Package remote is a generated GoMock package. |
mocks/rpc_info
Package rpc_info is a generated GoMock package.
|
Package rpc_info is a generated GoMock package. |
mocks/stats
Package stats is a generated GoMock package.
|
Package stats is a generated GoMock package. |
mocks/utils
Package utils is a generated GoMock package.
|
Package utils is a generated GoMock package. |
server
Package server defines the Options of server
|
Package server defines the Options of server |
utils/safemcache
Package safemcache wraps mcache for unsafe context.
|
Package safemcache wraps mcache for unsafe context. |
pkg
|
|
acl
Package acl implements ACL functionality.
|
Package acl implements ACL functionality. |
circuitbreak
Package circuitbreak implements the circuit breaker logic.
|
Package circuitbreak implements the circuit breaker logic. |
diagnosis
Package diagnosis provide support to register probe func that can get some infos to do diagnosis.
|
Package diagnosis provide support to register probe func that can get some infos to do diagnosis. |
discovery
Package discovery defines interfaces for service discovery.
|
Package discovery defines interfaces for service discovery. |
exception
Package exception is deprecated
|
Package exception is deprecated |
fallback
Package fallback ...
|
Package fallback ... |
generic
Package generic ...
|
Package generic ... |
generic/binary_test
Package test ...
|
Package test ... |
generic/descriptor
Package descriptor the idl descriptor for describe the idls with golang
|
Package descriptor the idl descriptor for describe the idls with golang |
generic/http_test
Package test ...
|
Package test ... |
generic/httppb_test
Package test ...
|
Package test ... |
generic/json_test
Package test ...
|
Package test ... |
generic/map_test
Package test ...
|
Package test ... |
generic/thrift
Package thrift provides thrift idl parser and codec for generic call
|
Package thrift provides thrift idl parser and codec for generic call |
http
Package http is used to implement RPC over HTTP.
|
Package http is used to implement RPC over HTTP. |
loadbalance/lbcache
Package lbcache combine balancer with resolver and cache the resolve result
|
Package lbcache combine balancer with resolver and cache the resolve result |
protocol/bthrift
Package bthrift .
|
Package bthrift . |
registry
Package registry is the API definition of service registry.
|
Package registry is the API definition of service registry. |
remote
Package remote defines all interfaces that are used to do transport with peer side and contains default extension implementations.
|
Package remote defines all interfaces that are used to do transport with peer side and contains default extension implementations. |
remote/codec/protobuf/encoding
Package encoding defines the interface for the compressor and codec, and functions to register and retrieve compressors and codecs.
|
Package encoding defines the interface for the compressor and codec, and functions to register and retrieve compressors and codecs. |
remote/codec/protobuf/encoding/gzip
Package gzip implements and registers the gzip compressor during the initialization.
|
Package gzip implements and registers the gzip compressor during the initialization. |
remote/connpool
Package connpool provide short connection and long connection pool.
|
Package connpool provide short connection and long connection pool. |
remote/remotecli
Package remotecli for remote client
|
Package remotecli for remote client |
remote/trans/detection
Package detection protocol detection, it is used for a scenario that switching KitexProtobuf to gRPC.
|
Package detection protocol detection, it is used for a scenario that switching KitexProtobuf to gRPC. |
remote/trans/gonet
Package gonet contains server and client implementation for go net.
|
Package gonet contains server and client implementation for go net. |
remote/trans/invoke
Package invoke .
|
Package invoke . |
remote/trans/nphttp2
Package nphttp2 transport powered by netpoll
|
Package nphttp2 transport powered by netpoll |
remote/trans/nphttp2/codes
Package codes defines the canonical error codes used by gRPC.
|
Package codes defines the canonical error codes used by gRPC. |
remote/trans/nphttp2/grpc
The files in grpc package are forked from gRPC[github.com/grpc/grpc-go], and we keep the original Copyright[Copyright 2017 gRPC authors] and License of gRPC for those files.
|
The files in grpc package are forked from gRPC[github.com/grpc/grpc-go], and we keep the original Copyright[Copyright 2017 gRPC authors] and License of gRPC for those files. |
remote/trans/nphttp2/grpc/syscall
Package syscall provides functionalities that grpc uses to get low-level operating system stats/info.
|
Package syscall provides functionalities that grpc uses to get low-level operating system stats/info. |
remote/trans/nphttp2/grpc/testutils/leakcheck
Package leakcheck contains functions to check leaked goroutines.
|
Package leakcheck contains functions to check leaked goroutines. |
remote/trans/nphttp2/metadata
Package metadata define the structure of the metadata supported by gRPC library.
|
Package metadata define the structure of the metadata supported by gRPC library. |
remote/trans/nphttp2/status
Package status implements errors returned by gRPC.
|
Package status implements errors returned by gRPC. |
remote/transmeta
Package transmeta .
|
Package transmeta . |
retry
Package retry implements rpc retry
|
Package retry implements rpc retry |
rpctimeout
Package rpctimeout implements logic for timeout controlling.
|
Package rpctimeout implements logic for timeout controlling. |
streaming
Package streaming interface
|
Package streaming interface |
transmeta
Package transmeta metadata handler for translation
|
Package transmeta metadata handler for translation |
utils
Package utils contains utils.
|
Package utils contains utils. |
utils/kitexutil
Package kitexutil provides some util methods to get RPC information
|
Package kitexutil provides some util methods to get RPC information |
Package server defines the Options of server
|
Package server defines the Options of server |
genericserver
Package genericserver ...
|
Package genericserver ... |
tool
|
|
internal_pkg
Package internalpkg contains packages for building the kitex command line tool.
|
Package internalpkg contains packages for building the kitex command line tool. |
internal_pkg/generator
Package generator .
|
Package generator . |
Package transport provides predefined transport protocol.
|
Package transport provides predefined transport protocol. |
Click to show internal directories.
Click to hide internal directories.