Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SafeCounter ¶
type SafeCounter struct {
// contains filtered or unexported fields
}
func (*SafeCounter) Inc ¶
func (c *SafeCounter) Inc(key string)
func (*SafeCounter) Lock ¶
func (c *SafeCounter) Lock()
func (*SafeCounter) ProtectedInc ¶
func (c *SafeCounter) ProtectedInc(key string)
func (*SafeCounter) UnProtectedInc ¶
func (c *SafeCounter) UnProtectedInc(key string)
func (*SafeCounter) Unlock ¶
func (c *SafeCounter) Unlock()
func (*SafeCounter) Value ¶
func (c *SafeCounter) Value(key string) int
Click to show internal directories.
Click to hide internal directories.