docker: github.com/docker/docker/libcontainerd/queue Index | Files

package queue

import "github.com/docker/docker/libcontainerd/queue"

Index

Package Files

queue.go

type Queue Uses

type Queue struct {
    sync.Mutex
    // contains filtered or unexported fields
}

Queue is the structure used for holding functions in a queue.

func (*Queue) Append Uses

func (q *Queue) Append(id string, f func())

Append adds an item to a queue.

Package queue imports 1 packages (graph) and is imported by 2 packages. Updated 2020-02-22. Refresh now. Tools for package owners.