slogger: github.com/mongodb/slogger/v2/slogger/queue Index | Files

package queue

import "github.com/mongodb/slogger/v2/slogger/queue"

Index

Package Files

queue.go

type Queue Uses

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

func New Uses

func New(capacity int, onForcedDequeue func(interface{})) *Queue

func (*Queue) Cap Uses

func (q *Queue) Cap() int

func (*Queue) Dequeue Uses

func (q *Queue) Dequeue() (interface{}, error)

func (*Queue) Enqueue Uses

func (q *Queue) Enqueue(item interface{})

func (*Queue) IsEmpty Uses

func (q *Queue) IsEmpty() bool

func (*Queue) IsFull Uses

func (q *Queue) IsFull() bool

func (*Queue) Len Uses

func (q *Queue) Len() int

type UnderflowError Uses

type UnderflowError struct {
}

func (UnderflowError) Error Uses

func (UnderflowError) Error() string

Package queue is imported by 1 packages. Updated 2016-09-18. Refresh now. Tools for package owners.