Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttempt ¶
func MedianFloat32 ¶
MedianFloat32 gets median value for an array of float32
Types ¶
type ChangeNotifier ¶
type ChangeNotifier struct {
// contains filtered or unexported fields
}
func NewChangeNotifier ¶
func NewChangeNotifier() *ChangeNotifier
func (*ChangeNotifier) AddObserver ¶
func (n *ChangeNotifier) AddObserver(key string, onChanged func())
func (*ChangeNotifier) HasObservers ¶
func (n *ChangeNotifier) HasObservers() bool
func (*ChangeNotifier) NotifyChanged ¶
func (n *ChangeNotifier) NotifyChanged()
func (*ChangeNotifier) RemoveObserver ¶
func (n *ChangeNotifier) RemoveObserver(key string)
type ChangeNotifierManager ¶
type ChangeNotifierManager struct {
// contains filtered or unexported fields
}
func NewChangeNotifierManager ¶
func NewChangeNotifierManager() *ChangeNotifierManager
func (*ChangeNotifierManager) GetNotifier ¶
func (m *ChangeNotifierManager) GetNotifier(key string) *ChangeNotifier
func (*ChangeNotifierManager) GetOrCreateNotifier ¶
func (m *ChangeNotifierManager) GetOrCreateNotifier(key string) *ChangeNotifier
func (*ChangeNotifierManager) RemoveNotifier ¶
func (m *ChangeNotifierManager) RemoveNotifier(key string, force bool)
Click to show internal directories.
Click to hide internal directories.