12 lines
326 B
Go
12 lines
326 B
Go
//go:build !windows && !darwin
|
|
|
|
package sysproxy
|
|
|
|
type stubController struct{}
|
|
|
|
func newPlatform() Controller { return stubController{} }
|
|
|
|
func (stubController) Enable(string) error { return ErrUnsupported }
|
|
func (stubController) Disable() error { return nil }
|
|
func (stubController) Enabled() bool { return false }
|