storage

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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 Link struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Link) Pop

func (l *Link) Pop() (interface{}, bool)

func (*Link) Push

func (l *Link) Push(data interface{})

func (*Link) Size

func (l *Link) Size() int

type Storager

type Storager interface {
	Push(interface{})
	Pop() (interface{}, bool)
}

Jump to

Keyboard shortcuts

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