Documentation
¶
Index ¶
- type InterceptorBuilder
- func (s *InterceptorBuilder) BuildClientInterceptor() grpc.UnaryClientInterceptor
- func (s *InterceptorBuilder) BuildServerInterceptor() grpc.UnaryServerInterceptor
- func (s *InterceptorBuilder) BuildServerInterceptorIO() grpc.UnaryServerInterceptor
- func (s *InterceptorBuilder) BuildServerInterceptorService() grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterceptorBuilder ¶
type InterceptorBuilder struct {
// contains filtered or unexported fields
}
func (*InterceptorBuilder) BuildClientInterceptor ¶
func (s *InterceptorBuilder) BuildClientInterceptor() grpc.UnaryClientInterceptor
BuildClientInterceptor 客户端限流 key limiter:service:user
func (*InterceptorBuilder) BuildServerInterceptor ¶
func (s *InterceptorBuilder) BuildServerInterceptor() grpc.UnaryServerInterceptor
BuildServerInterceptor 整个应用,集群的限流 key limiter:service:user
func (*InterceptorBuilder) BuildServerInterceptorIO ¶
func (s *InterceptorBuilder) BuildServerInterceptorIO() grpc.UnaryServerInterceptor
BuildServerInterceptorIO 配合后续业务做限流处理 key limiter:service:user
func (*InterceptorBuilder) BuildServerInterceptorService ¶
func (s *InterceptorBuilder) BuildServerInterceptorService() grpc.UnaryServerInterceptor
BuildServerInterceptorService 服务级别限流 key limiter:service:user:UserService user 里面的 UserService 限流
Click to show internal directories.
Click to hide internal directories.