store

package
v0.0.0-...-eec4d16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryStore

type MemoryStore struct {
	// contains filtered or unexported fields
}

func NewMemoryStore

func NewMemoryStore() *MemoryStore

func (*MemoryStore) Count

func (m *MemoryStore) Count() int

func (*MemoryStore) Delete

func (m *MemoryStore) Delete(key string)

func (*MemoryStore) ForEach

func (m *MemoryStore) ForEach(callback func(key string, value interface{}))

func (*MemoryStore) Get

func (m *MemoryStore) Get(key string) (interface{}, error)

func (*MemoryStore) Has

func (m *MemoryStore) Has(key string) bool

func (*MemoryStore) Set

func (m *MemoryStore) Set(key string, value interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳