store

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any]() *Store[T]

func (*Store[T]) Del

func (s *Store[T]) Del(handle uintptr)

func (*Store[T]) Get

func (s *Store[T]) Get(handle uintptr) T

func (*Store[T]) Set

func (s *Store[T]) Set(handle uintptr, value T)

Jump to

Keyboard shortcuts

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