Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtomicValue ¶
type AtomicValue interface {
LoadValue() interface{}
StoreValue(v interface{})
SetFromString(s string) error
}
AtomicValue is the generic interface for all atomic containers
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
Bool is a thread-safe boolean container
func (*Bool) SetFromString ¶ added in v1.2.5
func (*Bool) StoreValue ¶
func (b *Bool) StoreValue(v interface{})
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
Int is a thread-safe integer container
func (*Int) SetFromString ¶ added in v1.2.5
func (*Int) StoreValue ¶
func (i *Int) StoreValue(v interface{})
type String ¶
type String struct {
// contains filtered or unexported fields
}
String is a thread-safe string container
func (*String) SetFromString ¶ added in v1.2.5
func (*String) StoreValue ¶
func (s *String) StoreValue(v interface{})
Click to show internal directories.
Click to hide internal directories.