mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 00:06:38 +00:00
16 lines
410 B
Go
16 lines
410 B
Go
//go:build !windows && !darwin && !freebsd && !(linux && !android)
|
|
|
|
package server
|
|
|
|
func (s *Server) platformInit() {}
|
|
|
|
// serviceAcceptLoop is not supported on non-Windows platforms.
|
|
func (s *Server) serviceAcceptLoop() {
|
|
s.log.Warn("service mode not supported on this platform, falling back to direct mode")
|
|
s.acceptLoop()
|
|
}
|
|
|
|
func (s *Server) platformSessionManager() virtualSessionManager {
|
|
return nil
|
|
}
|