stack

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT, 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 MutexStack

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

func NewMutexStack

func NewMutexStack[T any]() *MutexStack[T]

func (*MutexStack[T]) Pop

func (s *MutexStack[T]) Pop() (T, bool)

func (*MutexStack[T]) Push

func (s *MutexStack[T]) Push(v T)

Jump to

Keyboard shortcuts

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