Versions in this module Expand all Collapse all v1 v1.0.4 Mar 10, 2022 Changes in this version type XmlConfig + func (x *XmlConfig) BuildXmlData() ([]byte, error) + func (x *XmlConfig) ParseXmlData(data []byte) error v1.0.3 Mar 10, 2022 Changes in this version type XmlConfig + func (x *XmlConfig) String() string v1.0.2 Feb 22, 2022 Changes in this version type XmlConfig + func NewXmlConfig() *XmlConfig v1.0.1 Feb 22, 2022 Changes in this version type XmlConfig + Configurations map[string]*property v1.0.0 Feb 17, 2022 Changes in this version + type XmlConfig struct + func (x *XmlConfig) Get(key string) (string, error) + func (x *XmlConfig) GetBool(key string, defaultBool bool) bool + func (x *XmlConfig) GetConfigKeys() []string + func (x *XmlConfig) GetInt(key string, defaultInt int) (int, error) + func (x *XmlConfig) GetInt16(key string, defaultInt16 int16) (int16, error) + func (x *XmlConfig) GetInt32(key string, defaultInt32 int32) (int32, error) + func (x *XmlConfig) GetInt64(key string, defaultInt64 int64) (int64, error) + func (x *XmlConfig) GetInt8(key string, defaultInt8 int8) (int8, error) + func (x *XmlConfig) GetPropsWithPrefix(prefix string) map[string]string + func (x *XmlConfig) GetString(key string, defaultString string) string + func (x *XmlConfig) GetStrings(key, sep string) []string + func (x *XmlConfig) GetTrimmedString(key string, defaultString string) string + func (x *XmlConfig) GetTrimmedStrings(key, sep string) []string + func (x *XmlConfig) GetUint(key string, defaultUint uint) (uint, error) + func (x *XmlConfig) GetUint16(key string, defaultUint16 uint16) (uint16, error) + func (x *XmlConfig) GetUint32(key string, defaultUint32 uint32) (uint32, error) + func (x *XmlConfig) GetUint64(key string, defaultUint64 uint64) (uint64, error) + func (x *XmlConfig) GetUint8(key string, defaultUint8 uint8) (uint8, error) + func (x *XmlConfig) Read(data []byte, r io.Reader) error + func (x *XmlConfig) ReadXmlFile(xmlFilePath string) error + func (x *XmlConfig) SetBool(key string, value bool) + func (x *XmlConfig) SetIfUnset(key string, value string) + func (x *XmlConfig) SetInt(key string, value int64) + func (x *XmlConfig) SetString(key string, value string) + func (x *XmlConfig) SetUint(key string, value uint64) + func (x *XmlConfig) Write(w io.Writer) error + func (x *XmlConfig) WriteXmlFile(xmlFilePath string) error