Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthInterceptor ¶
func AuthInterceptor(accessToken string) connect.Interceptor
AuthInterceptor returns an interceptor that adds the given access token to the request headers.
func NewConnectClient ¶
func NewConnectClient() connect.HTTPClient
func UnaryRetryInterceptor ¶ added in v1.1.4
func UnaryRetryInterceptor(retryMax int) connect.UnaryInterceptorFunc
UnaryRetryInterceptor returns a UnaryInterceptorFunc that retries the request up to retryMax times.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.