conf

package
v0.0.0-...-9864ad6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeviceConfig

func GetDeviceConfig() uint8

GetDeviceConfig returns the index of important for the current device for the specified user profile

func GetNetworkConfig

func GetNetworkConfig() (int, string)

GetNetworkConfig returns the port to listen to and the interface to listen to. Though we take a single port in, the configuration represents a sequential 3 port config - listening for incoming msg, listen for broadcasting message and listening for transmitted message response respectively.

func GetStorageLocation

func GetStorageLocation() string

GetStorageLocation returns the location where application may store data

func GetUserProfile

func GetUserProfile() (string, string, string)

GetUserProfile returns the username, displayname, email of the current app instance it basically represents the profile.UserProfile

func SetupNewConfiguration

func SetupNewConfiguration(newLoadFunc func() (*ini.File, error))

SetupNewConfiguration allows the application to load configuration in an alternate way

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL