Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultNetwork = "testing"
)
Variables ¶
This section is empty.
Functions ¶
func Save ¶
func Save(filename string, configuration *Configuration) error
Types ¶
type Configuration ¶
type Configuration struct { Default_identity string `libucl:"default_identity"` Network string `libucl:"network"` Connect string `libucl:"connect"` Identity []encrypt.IdentityType `libucl:"identity"` }
func GetConfiguration ¶
func GetConfiguration(configurationFileName string) (*Configuration, error)
full access to data (includes private data)
type InfoConfiguration ¶
type InfoConfiguration struct { Default_identity string `libucl:"default_identity"` Network string `libucl:"network"` Connect string `libucl:"connect"` Identity []InfoIdentityType `libucl:"identity"` }
func GetInfoConfiguration ¶
func GetInfoConfiguration(configurationFileName string) (*InfoConfiguration, error)
restricted access to data (excludes private items)
Click to show internal directories.
Click to hide internal directories.