mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
15 lines
244 B
Go
15 lines
244 B
Go
//go:build !linux
|
|
|
|
package agenthelper
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
type PlatformPeerResolver struct{}
|
|
|
|
func (PlatformPeerResolver) Resolve(net.Conn) (Peer, error) {
|
|
return Peer{}, errors.New("peer credentials are supported only on Linux")
|
|
}
|