Documentation
¶
Index ¶
- type Client
- type ClientInterceptor
- func (i *ClientInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
- func (i *ClientInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
- func (i *ClientInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
AddressesClient addressesv2connect.AddressesServiceClient
AssetsClient assetsv2connect.AssetsServiceClient
TransactionsClient transactionsv2connect.TransactionsServiceClient
BlocksClient blocksv2connect.BlocksServiceClient
BTCLikeClient btclikev2connect.BtcLikeServiceClient
TronClient tronv1connect.TronServiceClient
EVMClient evmv2connect.EVMServiceClient
IncidentsClient incidentsv2connect.IncidentsServiceClient
}
type ClientInterceptor ¶
type ClientInterceptor struct {
// contains filtered or unexported fields
}
func NewClientInterceptor ¶
func NewClientInterceptor(appVersion string) *ClientInterceptor
func (*ClientInterceptor) WrapStreamingClient ¶
func (i *ClientInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
func (*ClientInterceptor) WrapStreamingHandler ¶
func (i *ClientInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
WrapStreamingHandler returns a new stream server interceptor.
type Option ¶
type Option func(*Options)
func WithConnectrpcOpts ¶
func WithConnectrpcOpts(opts ...connect.ClientOption) Option
WithConnectrpcOpts sets the connectrpc options.
func WithHTTPClient ¶
WithHTTPClient sets the http client.
Click to show internal directories.
Click to hide internal directories.