Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheUsingChannels ¶
type CacheUsingChannels struct {
// contains filtered or unexported fields
}
func NewCacheUsingChannels ¶
func NewCacheUsingChannels() *CacheUsingChannels
func (*CacheUsingChannels) Get ¶
func (c *CacheUsingChannels) Get(key string) <-chan Person
func (*CacheUsingChannels) Set ¶
func (c *CacheUsingChannels) Set(key string, value Person)
type CacheUsingMutex ¶
type CacheUsingMutex struct {
// contains filtered or unexported fields
}
func (*CacheUsingMutex) Get ¶
func (c *CacheUsingMutex) Get(key string) Person
func (*CacheUsingMutex) Set ¶
func (c *CacheUsingMutex) Set(key string, value Person)
Click to show internal directories.
Click to hide internal directories.