 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChainClient ¶
func NewChainClient(uri string, chainID ids.ID, opts ...grpc.DialOption) (*grpc.ClientConn, error)
NewChainClient returns a grpc.ClientConn that sets the chain-id header for all requests
func SetChainIDHeaderStreamClientInterceptor ¶
func SetChainIDHeaderStreamClientInterceptor(chainID ids.ID) grpc.StreamClientInterceptor
SetChainIDHeaderStreamClientInterceptor sets the chain-id header for streaming requests
func SetChainIDHeaderUnaryClientInterceptor ¶
func SetChainIDHeaderUnaryClientInterceptor(chainID ids.ID) grpc.UnaryClientInterceptor
SetChainIDHeaderUnaryClientInterceptor sets the chain-id header for unary requests
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.