In the package golang.org/x/sys/windows/svc there is an example that contains this code:
const cmdsAccepted = svc.AcceptStop | svc.AcceptShutdown | svc.AcceptPauseAndContinue
What does the pipe | character mean?
In the package golang.org/x/sys/windows/svc there is an example that contains this code:
const cmdsAccepted = svc.AcceptStop | svc.AcceptShutdown | svc.AcceptPauseAndContinue
What does the pipe | character mean?