admin

package
v0.0.0-...-36cd75f Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RebuildClosureTable2 tasks.Task = tasks.Task{
	Name:          "admin.rebuild_closure_table",
	TrackProgress: true,
	TaskFunction: func(t *tasks.Task) {
		for i := 1; i <= 11; i++ {

			time.Sleep(3 * time.Second)
			t.Progress += 1
		}
	},
}

Functions

func RebuildClosureTable

func RebuildClosureTable(c *gin.Context)

func RebuildClosureTable3

func RebuildClosureTable3(queue string, args ...interface{}) error

func Routes

func Routes(r *gin.Engine) *gin.RouterGroup

func TasksEndpoint

func TasksEndpoint(c *gin.Context)

func TestQueue

func TestQueue(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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