package device
import "github.com/bugsnag/bugsnag-go/device"
Index ¶
Functions ¶
func GetHostname ¶
func GetHostname() string
GetHostname returns the hostname of the current device. Caches the hostname between calls to ensure this is performant. Returns a blank string in case that the hostname cannot be identified.
Source Files ¶
- Version
- v1.4.0
- Published
- Nov 27, 2018
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 8 hours ago –
Tools for package owners.