tasks

package
v0.0.0-...-b155b17 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package tasks implements all tasks.

Example
package main

import (
	"time"

	"github.com/Laisky/go-ramjet/internal/tasks/store"
)

func runTask() {
	// do some heavy works here
	// ...
}

// bindTask setup tasks
func bindTask() {
	go store.TaskStore.Ticker(10*time.Second, runTask)
}

func main() {
	store.TaskStore.Store("es", bindTask)
}
Output:

Directories

Path Synopsis
Package auditlog implements 3rd-party auditlog service.
Package auditlog implements 3rd-party auditlog service.
Package blog implements blog tasks.
Package blog implements blog tasks.
Package crawler implements web crawler.
Package crawler implements web crawler.
Package elasticsearch implements elasticsearch tasks.
Package elasticsearch implements elasticsearch tasks.
alias
Package alias implements elasticsearch alias.
Package alias implements elasticsearch alias.
monitor
Package monitor implements monitor task.
Package monitor implements monitor task.
password
Package password generate random password monthly
Package password generate random password monthly
remove
Package remove Some tasks to operate ES
Package remove Some tasks to operate ES
rollover
Package rollover implements elasticsearch rollover tasks.
Package rollover implements elasticsearch rollover tasks.
Package fluentd implements fluentd monitor task.
Package fluentd implements fluentd monitor task.
Package gitlab implements gitlab api server.
Package gitlab implements gitlab api server.
Package gptchat implements gptchat tasks.
Package gptchat implements gptchat tasks.
config
Package config implements config.
Package config implements config.
db
package db is a package for database
package db is a package for database
http
Package http implements http server.
Package http implements http server.
s3
Package s3 provides s3 client
Package s3 provides s3 client
templates
Package templates implements templates.
Package templates implements templates.
templates/js
Package templates implements templates.
Package templates implements templates.
templates/pages
Package pages implements web pages.
Package pages implements web pages.
templates/partials
Package partials implements partials.
Package partials implements partials.
templates/scss
Package static implements static files.
Package static implements static files.
templates/static
Package static implements static files.
Package static implements static files.
utils
Package utils provides some utility functions for gptchat
Package utils provides some utility functions for gptchat
Package heartbeat implements self heartbeat.
Package heartbeat implements self heartbeat.
jav
Package jav is a package for jav tasks
Package jav is a package for jav tasks
dto
Package dto is a package for jav tasks
Package dto is a package for jav tasks
http
Package http is a http handler package for jav tasks
Package http is a http handler package for jav tasks
service
Package service is a service package for jav tasks
Package service is a service package for jav tasks
Package logrotate implements logrotate task.
Package logrotate implements logrotate task.
backup
Package backup provides backup log files to remote server.
Package backup provides backup log files to remote server.
Package monitor implements monitor task.
Package monitor implements monitor task.
Package sites implements sites tasks.
Package sites implements sites tasks.
Package gptchat implements gptchat tasks.
Package gptchat implements gptchat tasks.
Package store store all tasks
Package store store all tasks
Package twitter implements twitter sync task.
Package twitter implements twitter sync task.
Package zipkin implements zipkin tasks.
Package zipkin implements zipkin tasks.
dependencies
Package dependencies implements zipkin dependencies task.
Package dependencies implements zipkin dependencies task.

Jump to

Keyboard shortcuts

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