Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
func Dial(ctx context.Context, dest net.Destination) (internet.Connection, error)
Types ¶
type Config ¶
type Config struct { // Path of the domain socket. This overrides the IP/Port parameter from upstream caller. Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` // Abstract speicifies 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" json:"abstract,omitempty"` }
Click to show internal directories.
Click to hide internal directories.