...

Source file src/github.com/godbus/dbus/v5/conn_windows.go

Documentation: github.com/godbus/dbus/v5

     1  //+build windows
     2  
     3  package dbus
     4  
     5  import "os"
     6  
     7  const defaultSystemBusAddress = "tcp:host=127.0.0.1,port=12434"
     8  
     9  func getSystemBusPlatformAddress() string {
    10  	address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS")
    11  	if address != "" {
    12  		return address
    13  	}
    14  	return defaultSystemBusAddress
    15  }
    16  

View as plain text