{"modulePath":"github.com/cosin/framework","version":"v0.0.0-20200411092139-678c32f7526f","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package queue\n\n## Types\n\n```go\ntype DiskQueue struct {\n}\n```\n\n```go\nfunc (module DiskQueue) Close(k string) error\n```\n\n```go\nfunc (module DiskQueue) Depth(k string) int64\n```\n\n```go\nfunc (module DiskQueue) GetQueues() []string\n```\n\n```go\nfunc (module DiskQueue) Name() string\n```\n\n```go\nfunc (module DiskQueue) Pop(k string, timeoutInSeconds time.Duration) ([]byte, error)\n```\n\n```go\nfunc (module DiskQueue) Push(k string, v []byte) error\n```\n\n```go\nfunc (module DiskQueue) ReadChan(k string) chan []byte\n```\n\n```go\nfunc (module DiskQueue) Setup(cfg *config.Config)\n```\n\n```go\nfunc (module DiskQueue) Start() error\n```\n\n```go\nfunc (module DiskQueue) Stop() error\n```\n\n","path":"github.com/cosin/framework/modules/queue","name":"queue","synopsis":"","isRedistributable":true}
