func (header *Header) UnixAddrs() (sourceAddr, destAddr *net.UnixAddr, ok bool) {
	if !header.TransportProtocol.IsUnix() {
		return nil, nil, false
	}
	sourceAddr, sourceOK := header.SourceAddr.(*net.UnixAddr)
	destAddr, destOK := header.DestinationAddr.(*net.UnixAddr)
	return sourceAddr, destAddr, sourceOK && destOK
}
// UnixAddrs returns the uds addresses for the proxy protocol header.
UnixAddrs returns the uds addresses for the proxy protocol header.
// UnixAddrs returns the uds addresses for the proxy protocol header .
func (header *Header) UnixAddrs() (sourceAddr, destAddr *net.UnixAddr, ok bool) {
	if !header.TransportProtocol.IsUnix() {
		return nil, nil, false
	}
	sourceAddr, sourceOK := header.SourceAddr.(*net.UnixAddr)
	destAddr, destOK := header.DestinationAddr.(*net.UnixAddr)
	return sourceAddr, destAddr, sourceOK && destOK
}
func ( header * Header ) UnixAddrs ( ) ( sourceAddr , destAddr * net . UnixAddr , ok bool ) { if ! header . TransportProtocol . IsUnix ( ) { return nil , nil , false } sourceAddr , sourceOK := header . SourceAddr . ( * net . UnixAddr ) destAddr , destOK := header . DestinationAddr . ( * net . UnixAddr ) return sourceAddr , destAddr , sourceOK && destOK }
UnixAddrs returns the uds addresses for the proxy protocol header.
UnixAddrs returns the uds addresses for the proxy protocol header .