package
2.0.0-20230315033327-439aceb4cc96
Repository: https://github.com/ergesun/client-go.git
Documentation: pkg.go.dev
# Functions
NewInterceptedClient creates a Client which can execute interceptor.
NewReqCollapse creates a reqCollapse.
NewRPCClient creates a client that manages connections and rpc calls with tikv-servers.
WithCodec is used to set RPCClient's codec.
WithGRPCDialOptions is used to set the grpc.DialOption.
WithSecurity is used to set the security config.
# Constants
Grpc window size.
Grpc window size.
MaxWriteExecutionTime is the MaxExecutionDurationMs field for write requests.
For requests that may need scan region.
For requests that read/write several key-values.
# Variables
MaxRecvMsgSize set max gRPC receive message size received from server.
ResourceControlInterceptor is used to build the resource control interceptor.
ResourceControlSwitch is used to control whether to enable the resource control.
# Interfaces
Client is a client that sends RPC.
# Type aliases
Opt is the option for the client.