Documentation ¶
Overview ¶
Package connect establishes connections to local or remote GRPC services with a more convenient set of options.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Internal ¶ added in v1.15.0
func Internal(endpoint Endpoint, opts ...grpc.DialOption) (*grpc.ClientConn, error)
Internal opens a new connection to the internal part of the endpoint.
func Remote ¶ added in v1.15.0
func Remote(endpoint Endpoint, opts ...grpc.DialOption) (*grpc.ClientConn, error)
Remote opens a new connection to the remote part of the endpoint.
func WithBearer ¶ added in v1.15.0
func WithBearer(accessToken string) grpc.DialOption
WithBearer dials the remote server with a Bearer token in every request.
Types ¶
Click to show internal directories.
Click to hide internal directories.