cache: gitoa.ru/go-4devs/cache/provider/memory Index | Files

package memory

import "gitoa.ru/go-4devs/cache/provider/memory"

Index

Package Files

encoding.go map.go

func NewEncoding Uses

func NewEncoding() cache.Provider

NewEncoding create new provider.

func NewMap Uses

func NewMap() cache.Provider

NewMap creates new map cache.

func NewMapShard Uses

func NewMapShard(opts ...Option) cache.Provider

type Option Uses

type Option func(*settings)

func WithHashKey Uses

func WithHashKey(f func(in cache.Key) uint64) Option

func WithNumShards Uses

func WithNumShards(num uint64) Option

Package memory imports 6 packages (graph). Updated 2020-09-24. Refresh now. Tools for package owners.