本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 satır
322B

  1. // Copyright 2019 Gitea. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package task
  5. import "code.gitea.io/gitea/models"
  6. // Queue defines an interface to run task queue
  7. type Queue interface {
  8. Run() error
  9. Push(*models.Task) error
  10. Stop()
  11. }
上海开阖软件有限公司 沪ICP备12045867号-1