ephemeral

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

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

func NewInstance

func NewInstance(expiration time.Duration) *Instance

* * NewInstance * @param expiration time.Duration * @return *Instance *

func (*Instance) Del

func (s *Instance) Del(key string)

* * Del * @param key string *

func (*Instance) Get

func (s *Instance) Get(key string) (interface{}, bool)

* * Get * @param key string * @return interface{} * @return bool *

func (*Instance) Set

func (s *Instance) Set(key string, value interface{})

* * Set * @param key string * @param value interface{} *

Jump to

Keyboard shortcuts

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