github.com/network-quality/goresponsiveness@v0.0.0-20240129151524-343954285090/l4s/other.go (about) 1 //go:build !linux 2 // +build !linux 3 4 /* 5 * This file is part of Go Responsiveness. 6 * 7 * Go Responsiveness is free software: you can redistribute it and/or modify it under 8 * the terms of the GNU General Public License as published by the Free Software Foundation, 9 * either version 2 of the License, or (at your option) any later version. 10 * Go Responsiveness is distributed in the hope that it will be useful, but WITHOUT ANY 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License along 15 * with Go Responsiveness. If not, see <https://www.gnu.org/licenses/>. 16 */ 17 18 package l4s 19 20 import ( 21 "fmt" 22 "net" 23 ) 24 25 func SetL4S(conn net.Conn, algorithm *string) error { 26 return fmt.Errorf("setting L4S is not supported on this platform") 27 }