sync

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NestedSyncMap

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

func NewNestedSyncMap

func NewNestedSyncMap() *NestedSyncMap

func (*NestedSyncMap) Data

func (sm *NestedSyncMap) Data() map[string]any

func (*NestedSyncMap) Delete

func (sm *NestedSyncMap) Delete(key string)

func (*NestedSyncMap) Get

func (sm *NestedSyncMap) Get(key string) any

func (*NestedSyncMap) OverwriteData

func (sm *NestedSyncMap) OverwriteData(data map[string]any)

func (*NestedSyncMap) PathExists

func (sm *NestedSyncMap) PathExists(key string) bool

func (*NestedSyncMap) Set

func (sm *NestedSyncMap) Set(key string, value any)

type SyncMap

type SyncMap[Key comparable, Value any] struct {
	// contains filtered or unexported fields
}

func NewSyncMap

func NewSyncMap[Key comparable, Value any]() *SyncMap[Key, Value]

func (*SyncMap[Key, Value]) Get

func (sm *SyncMap[Key, Value]) Get(key Key) Value

func (*SyncMap[Key, Value]) Set

func (sm *SyncMap[Key, Value]) Set(key Key, value Value)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL