Documentation ¶
Overview ¶
Package sync handles synchronized read and write access to config values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
Bool type with concurrent access support.
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
Float64 type with concurrent access support.
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
Int64 type with concurrent access support.
type Secret ¶ added in v0.4.0
type Secret struct {
// contains filtered or unexported fields
}
Secret string type for secrets with concurrent access support.
type String ¶
type String struct {
// contains filtered or unexported fields
}
String type with concurrent access support.
type StringMap ¶ added in v0.15.0
type StringMap struct {
// contains filtered or unexported fields
}
StringMap is a map[string]string type with concurrent access support.
type TimeDuration ¶ added in v0.10.0
type TimeDuration struct {
// contains filtered or unexported fields
}
TimeDuration is Time.Duration type with concurrent access support.
func (*TimeDuration) Get ¶ added in v0.10.0
func (s *TimeDuration) Get() time.Duration
Get returns the internal value.
func (*TimeDuration) Set ¶ added in v0.10.0
func (s *TimeDuration) Set(value time.Duration)
Set a value.
func (*TimeDuration) SetString ¶ added in v0.10.0
func (s *TimeDuration) SetString(val string) error
SetString parses and sets a value from string type.
func (*TimeDuration) String ¶ added in v0.10.0
func (s *TimeDuration) String() string
String returns string representation of value.
Click to show internal directories.
Click to hide internal directories.