Documentation
      ¶
    
    
  
    
  
    Index ¶
- func ExtractFromCtx(ctx context.Context, key string) string
 - func WithStreamClientInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption
 - func WithStreamServerInterceptors(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption
 - func WithUnaryClientInterceptors(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption
 - func WithUnaryServerInterceptors(interceptors ...grpc.UnaryServerInterceptor) grpc.ServerOption
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithStreamClientInterceptors ¶
func WithStreamClientInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption
func WithStreamServerInterceptors ¶
func WithStreamServerInterceptors(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption
func WithUnaryClientInterceptors ¶
func WithUnaryClientInterceptors(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption
func WithUnaryServerInterceptors ¶
func WithUnaryServerInterceptors(interceptors ...grpc.UnaryServerInterceptor) grpc.ServerOption
Types ¶
This section is empty.
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       * * @Author: yangon * @Description * @Date: 2021/3/8 14:45 * 
         | 
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:45 * | 
| 
         
          
            consistent_hash
            
            
          
           
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:39 * * * @Author: yangon * @Description * @Date: 2021/3/8 14:41 * 
         | 
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:39 * * * @Author: yangon * @Description * @Date: 2021/3/8 14:41 * | 
| 
         
          
            least_connection
            
            
          
           
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:57 * 
         | 
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:57 * | 
| 
         
          
            random
            
            
          
           
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:58 * 
         | 
      * * @Author: yangon * @Description * @Date: 2021/3/8 14:58 * | 
| 
         
          
            round_robin
            
            
          
           
      * * @Author: yangon * @Description * @Date: 2021/3/8 15:00 * 
         | 
      * * @Author: yangon * @Description * @Date: 2021/3/8 15:00 * | 
| 
       * * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2021/1/2 12:50 
         | 
      * * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2021/1/2 12:50 | 
| 
       * * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2021/1/2 12:50 
         | 
      * * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2021/1/2 12:50 | 
 Click to show internal directories. 
   Click to hide internal directories.