Documentation ¶
Index ¶
- Variables
- type Grpc
- func (*Grpc) Descriptor() ([]byte, []int)deprecated
- func (x *Grpc) GetAddr() string
- func (x *Grpc) GetNetwork() string
- func (x *Grpc) GetTimeout() *durationpb.Duration
- func (x *Grpc) GetTls() bool
- func (x *Grpc) GetTlsAuthType() int32
- func (*Grpc) ProtoMessage()
- func (x *Grpc) ProtoReflect() protoreflect.Message
- func (x *Grpc) Reset()
- func (x *Grpc) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_grpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Grpc ¶
type Grpc struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Tls bool `protobuf:"varint,3,opt,name=tls,proto3" json:"tls,omitempty"` TlsAuthType int32 `protobuf:"varint,4,opt,name=tls_auth_type,json=tlsAuthType,proto3" json:"tls_auth_type,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Grpc) Descriptor
deprecated
func (*Grpc) GetNetwork ¶
func (*Grpc) GetTimeout ¶
func (x *Grpc) GetTimeout() *durationpb.Duration
func (*Grpc) GetTlsAuthType ¶
func (*Grpc) ProtoMessage ¶
func (*Grpc) ProtoMessage()
func (*Grpc) ProtoReflect ¶
func (x *Grpc) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.