Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(pctx context.Context, conf config.RPCClient, opts ...grpc.DialOption) (*grpc.ClientConn, error)
Dial returns a new gRPC ClientConn with some default dial and call options set
func PerRPCPassword ¶
func PerRPCPassword(user, password string) grpc.DialOption
PerRPCPassword returns a new gRPC DialOption which includes a basic auth. password header in each RPC request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.