domainsocket

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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