revel: github.com/revel/revel/utils Index | Files

package utils

import "github.com/revel/revel/utils"

Index

Package Files

simplestack.go

type ObjectDestroy Uses

type ObjectDestroy interface {
    Destroy()
}

type SimpleLockStack Uses

type SimpleLockStack struct {
    Current *SimpleLockStackElement
    Creator func() interface{}
    // contains filtered or unexported fields
}

func NewStackLock Uses

func NewStackLock(startsize, maxsize int, creator func() interface{}) *SimpleLockStack

func (*SimpleLockStack) Active Uses

func (s *SimpleLockStack) Active() int

func (*SimpleLockStack) Capacity Uses

func (s *SimpleLockStack) Capacity() int

func (*SimpleLockStack) Len Uses

func (s *SimpleLockStack) Len() int

func (*SimpleLockStack) Pop Uses

func (s *SimpleLockStack) Pop() (value interface{})

func (*SimpleLockStack) Push Uses

func (s *SimpleLockStack) Push(value interface{})

func (*SimpleLockStack) String Uses

func (s *SimpleLockStack) String() string

type SimpleLockStackElement Uses

type SimpleLockStackElement struct {
    Value    interface{}
    Previous *SimpleLockStackElement
    Next     *SimpleLockStackElement
}

Package utils imports 2 packages (graph) and is imported by 4 packages. Updated 2018-10-30. Refresh now. Tools for package owners.