package
Version:
v1.3.4-alpha5
Opens a new window with list of versions in this module.
Published: Jun 18, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (this *Stack) CreateShadowStack() func()
CreateShadowStack creates a shadow stack, which can be used to restore the stack to its current state.
dont pop the top item of the stack.
func (this *Stack) GetAll(callback func(any))
break: get all stack value and callback
Return the number of items in the stack
func (this *Stack) Peek() interface{}
View the top item on the stack
func (this *Stack) PeekN(n int) interface{}
View the top n item on the stack
func (this *Stack) Pop() interface{}
Pop the top item of the stack and return it
func (this *Stack) Push(value interface{})
Push a value onto the top of the stack
Source Files
¶
Click to show internal directories.
Click to hide internal directories.