nano-run/services/queue/interface.go

9 lines
128 B
Go
Raw Normal View History

2020-09-10 10:11:34 +00:00
package queue
import "context"
type Queue interface {
Push(payload []byte) error
Get(ctx context.Context) ([]byte, error)
}