nano-run/services/queue/interface.go
Alexander Baryshnikov 4edfaa4d26 initial code added
2020-09-10 18:11:34 +08:00

9 lines
128 B
Go

package queue
import "context"
type Queue interface {
Push(payload []byte) error
Get(ctx context.Context) ([]byte, error)
}