...

Package queue

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

Overview ▾

type Queue

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

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

func (*Queue) Append

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

Append adds an item to a queue.