Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataAccces ¶
type DataAccces interface { GetNote(ctx context.Context, key string) (data []byte, found bool, err error) GetVersion(ctx context.Context, key string) (version string, err error) SetNote(ctx context.Context, key string, data []byte) (version string, err error) }
DataAccces Data Access Interface.
type InMemory ¶
type InMemory struct {
// contains filtered or unexported fields
}
InMemory implements the DataAccces interface using bigcache.
func NewInMemory ¶
func (InMemory) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.