rpc

package
v0.0.0-...-9317174 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL