Versions in this module Expand all Collapse all v0 v0.4.79 Aug 1, 2020 v0.4.78 Jul 16, 2020 Changes in this version + const False + const True + type Bool struct + func (b *Bool) Get() (state bool) + func (b *Bool) MarshalJSON() (bs []byte, err error) + func (b *Bool) Set(state bool) (changed bool) + func (b *Bool) UnmarshalJSON(bs []byte) (err error) + type Int struct + func (i *Int) Add(n int) (new int) + func (i *Int) CompareAndSwap(old, new int) (changed bool) + func (i *Int) Load() (n int) + func (i *Int) MarshalJSON() (b []byte, err error) + func (i *Int) Store(new int) + func (i *Int) Swap(new int) (old int) + func (i *Int) UnmarshalJSON(b []byte) (err error) + type Int32 struct + func (i *Int32) Add(n int32) (new int32) + func (i *Int32) CompareAndSwap(old, new int32) (changed bool) + func (i *Int32) Load() (n int32) + func (i *Int32) MarshalJSON() (b []byte, err error) + func (i *Int32) Store(new int32) + func (i *Int32) Swap(new int32) (old int32) + func (i *Int32) UnmarshalJSON(b []byte) (err error) + type Int64 struct + func (i *Int64) Add(n int64) (new int64) + func (i *Int64) CompareAndSwap(old, new int64) (changed bool) + func (i *Int64) Load() (n int64) + func (i *Int64) MarshalJSON() (b []byte, err error) + func (i *Int64) Store(new int64) + func (i *Int64) Swap(new int64) (old int64) + func (i *Int64) UnmarshalJSON(b []byte) (err error) + type MultiMux struct + func (mm *MultiMux) Delete(key string) + func (mm *MultiMux) RWMutex(key string) (m *sync.RWMutex) + func (mm *MultiMux) Read(key string, fn func()) + func (mm *MultiMux) Update(key string, fn func()) + type Mux struct + func (m *Mux) Update(fn func()) + type RWMux struct + func (m *RWMux) Read(fn func()) + func (m *RWMux) Update(fn func()) + type String struct + func (s *String) Load() (str string) + func (s *String) MarshalJSON() (b []byte, err error) + func (s *String) Store(new string) + func (s *String) Swap(new string) (old string) + func (s *String) UnmarshalJSON(b []byte) (err error) + type Uint struct + func (u *Uint) Add(n uint) (new uint) + func (u *Uint) CompareAndSwap(old, new uint) (changed bool) + func (u *Uint) Load() (n uint) + func (u *Uint) MarshalJSON() (b []byte, err error) + func (u *Uint) Store(new uint) + func (u *Uint) Swap(new uint) (old uint) + func (u *Uint) UnmarshalJSON(b []byte) (err error) + type Uint32 struct + func (u *Uint32) Add(n uint32) (new uint32) + func (u *Uint32) CompareAndSwap(old, new uint32) (changed bool) + func (u *Uint32) Load() (n uint32) + func (u *Uint32) MarshalJSON() (b []byte, err error) + func (u *Uint32) Store(new uint32) + func (u *Uint32) Swap(new uint32) (old uint32) + func (u *Uint32) UnmarshalJSON(b []byte) (err error) + type Uint64 struct + func (u *Uint64) Add(n uint64) (new uint64) + func (u *Uint64) CompareAndSwap(old, new uint64) (changed bool) + func (u *Uint64) Load() (n uint64) + func (u *Uint64) MarshalJSON() (b []byte, err error) + func (u *Uint64) Store(new uint64) + func (u *Uint64) Swap(new uint64) (old uint64) + func (u *Uint64) UnmarshalJSON(b []byte) (err error) + type Value struct + func (av *Value) CompareAndSwap(fn func(oldV interface{}) (newV interface{}, ok bool)) (ok bool) + func (av *Value) Load() (v interface{}) + func (av *Value) MarshalJSON() (b []byte, err error) + func (av *Value) Store(v interface{}) + func (av *Value) Swap(newV interface{}) (oldV interface{}) + func (av *Value) UnmarshalJSON(b []byte) (err error)