Documentation
¶
Index ¶
- Variables
- type DomainSocketConfig
- func (*DomainSocketConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DomainSocketConfig) GetAbstract() bool
- func (x *DomainSocketConfig) GetPadding() bool
- func (x *DomainSocketConfig) GetPath() string
- func (*DomainSocketConfig) ProtoMessage()
- func (x *DomainSocketConfig) ProtoReflect() protoreflect.Message
- func (x *DomainSocketConfig) Reset()
- func (x *DomainSocketConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_transport_protocols_domainsocket_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DomainSocketConfig ¶
type DomainSocketConfig struct {
// Path of the domain socket. This overrides the IP/Port parameter from
// upstream caller.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// Abstract specifies whether to use abstract namespace or not.
// Traditionally Unix domain socket is file system based. Abstract domain
// socket can be used without acquiring file lock.
Abstract bool `protobuf:"varint,2,opt,name=abstract,proto3" json:"abstract,omitempty"`
// Some apps, eg. haproxy, use the full length of sockaddr_un.sun_path to
// connect(2) or bind(2) when using abstract UDS.
Padding bool `protobuf:"varint,3,opt,name=padding,proto3" json:"padding,omitempty"`
// contains filtered or unexported fields
}
func (*DomainSocketConfig) Descriptor
deprecated
func (*DomainSocketConfig) Descriptor() ([]byte, []int)
Deprecated: Use DomainSocketConfig.ProtoReflect.Descriptor instead.
func (*DomainSocketConfig) GetAbstract ¶
func (x *DomainSocketConfig) GetAbstract() bool
func (*DomainSocketConfig) GetPadding ¶
func (x *DomainSocketConfig) GetPadding() bool
func (*DomainSocketConfig) GetPath ¶
func (x *DomainSocketConfig) GetPath() string
func (*DomainSocketConfig) ProtoMessage ¶
func (*DomainSocketConfig) ProtoMessage()
func (*DomainSocketConfig) ProtoReflect ¶
func (x *DomainSocketConfig) ProtoReflect() protoreflect.Message
func (*DomainSocketConfig) Reset ¶
func (x *DomainSocketConfig) Reset()
func (*DomainSocketConfig) String ¶
func (x *DomainSocketConfig) String() string
Click to show internal directories.
Click to hide internal directories.