28 lines
452 B
Go
28 lines
452 B
Go
//go:build !windows
|
|
|
|
package control
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
type Server struct{}
|
|
|
|
func currentUserScope() string { return "unsupported" }
|
|
|
|
func Listen(Handler) (*Server, error) {
|
|
return nil, errors.ErrUnsupported
|
|
}
|
|
|
|
func ListenAt(string, Handler) (*Server, error) {
|
|
return nil, errors.ErrUnsupported
|
|
}
|
|
|
|
func Dial(context.Context) (net.Conn, error) {
|
|
return nil, errors.ErrUnsupported
|
|
}
|
|
|
|
func (*Server) Close() error { return nil }
|