Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type Properties struct {
// contains filtered or unexported fields
}
Properties is a string map decorator
func NewProperties ¶
func NewProperties(m map[string]string) *Properties
NewProperties creates a new Properties object
func (*Properties) BooleanParam ¶
func (p *Properties) BooleanParam(key string, defaultValue bool) bool
BooleanParam attempts to look up a boolean value by key. If not found, return the default boolean value
func (*Properties) FloatParam ¶
func (p *Properties) FloatParam(key string, defaultValue float64) float64
FloatParam attempts to look up a float value by key. If not found, return the default float value
func (*Properties) IntegerParam ¶
func (p *Properties) IntegerParam(key string, defaultValue int) int
IntegerParam attempts to look up a integer value by key. If not found, return the default integer value
func (*Properties) StringParam ¶
func (p *Properties) StringParam(key string, defaultValue string) string
StringParam attempts to look up a string value by key. If not found, return the default string value
Click to show internal directories.
Click to hide internal directories.