worker

package
v0.0.0-...-5ab7537 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BringIt

func BringIt(uuid string) interface{}

func CacheIt

func CacheIt(uuid string, data interface{})

Types

type CacheLayer

type CacheLayer struct {
	// contains filtered or unexported fields
}

type Worker

type Worker struct {
	ID          string
	MaxParallel int
	Master      string
	Host        string
	Port        int
	Http        *gin.Engine
}

func NewWorker

func NewWorker(host string, port int, masterPath string) *Worker

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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