github.com/sagernet/sing@v0.4.0-beta.19.0.20240518125136-f67a0988a636/common/winpowrprof/event_stub.go (about)

     1  //go:build !windows
     2  
     3  package winpowrprof
     4  
     5  import (
     6  	"os"
     7  )
     8  
     9  func NewEventListener(callback func(event int)) (EventListener, error) {
    10  	return nil, os.ErrInvalid
    11  }