Documentation ¶
Index ¶
- func NewRPCClient(cfg *ClientConfig) *grpc.ClientConn
- func TracingInterceptor() grpc.UnaryServerInterceptor
- func UnaryClientInterceptor(cb *circuitbreaker.CircuitBreaker, handler OpenStateHandler) grpc.UnaryClientInterceptor
- type Circuitbreaker
- type ClientConfig
- type OpenStateHandler
- type Server
- type ServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRPCClient ¶ added in v1.0.8
func NewRPCClient(cfg *ClientConfig) *grpc.ClientConn
func TracingInterceptor ¶ added in v1.0.14
func TracingInterceptor() grpc.UnaryServerInterceptor
Tracing Interceptor ....
func UnaryClientInterceptor ¶ added in v1.0.8
func UnaryClientInterceptor(cb *circuitbreaker.CircuitBreaker, handler OpenStateHandler) grpc.UnaryClientInterceptor
Types ¶
type Circuitbreaker ¶ added in v1.0.8
type ClientConfig ¶ added in v1.0.8
type OpenStateHandler ¶ added in v1.0.8
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(c *ServerConfig, opts ...xgprc.ServerOption) (s *Server, err error)
Click to show internal directories.
Click to hide internal directories.