queue

package
v0.0.0-...-6b52c20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskQueue

type DiskQueue struct {
}

func (DiskQueue) Close

func (this DiskQueue) Close(k QueueKey) error

func (DiskQueue) Name

func (this DiskQueue) Name() string

func (DiskQueue) Pop

func (this DiskQueue) Pop(k QueueKey, timeoutInSeconds time.Duration) (error, []byte)

func (DiskQueue) Push

func (this DiskQueue) Push(k QueueKey, v []byte) error

func (DiskQueue) Start

func (this DiskQueue) Start(cfg *Config)

func (DiskQueue) Stop

func (this DiskQueue) Stop() error

Directories

Path Synopsis
[nsq]: https://github.com/nsqio/nsq Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
[nsq]: https://github.com/nsqio/nsq Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL