HellPot/internal/http/router_windows.go

15 lines
234 B
Go
Raw Normal View History

2021-09-22 06:47:32 +00:00
//go:build windows
// +build windows
package http
import (
"errors"
2021-10-17 17:09:28 +00:00
2021-09-22 06:47:32 +00:00
"github.com/fasthttp/router"
)
func listenOnUnixSocket(addr string, r *router.Router) error {
return errors.New("unix sockets are not supported on Windows")
}