Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConn ¶
type ClientConn struct {
// contains filtered or unexported fields
}
func Dial ¶
func Dial(host string, opts ...DialOption) (*ClientConn, error)
func (*ClientConn) Invoke ¶
func (c *ClientConn) Invoke(ctx context.Context, method string, args, reply any, opts ...grpc.CallOption) error
func (*ClientConn) NewStream ¶
func (c *ClientConn) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...grpc.CallOption) (grpc.ClientStream, error)
type DialOption ¶
type DialOption func(*dialOptions)
func WithInsecure ¶
func WithInsecure() DialOption
func WithTransportCredentials ¶
func WithTransportCredentials(creds credentials.TransportCredentials) DialOption
Click to show internal directories.
Click to hide internal directories.