server

package
v0.0.0-...-ed06f05 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*handler.Handler
	*monitor.Service
}

func NewApp

func NewApp(c *Config) *App

type Config

type Config struct {
	DB                   *gorm.DB
	LogPersistentStorage LogPersistentStorage
	LogCacheStorage      *goredis.Client
	Locker               Locker
	EventHookSender      EventHookSender
}

type EventHookSender

type EventHookSender eventhook.Sender

type Locker

type Locker lib.Locker

func NewRedisLocker

func NewRedisLocker(client *goredis.Client) Locker

type LogPersistentStorage

type LogPersistentStorage logstorage.OSS

func NewLocalLogPersistentStorage

func NewLocalLogPersistentStorage(dir string) LogPersistentStorage

func NewS3LogPersistentStorage

func NewS3LogPersistentStorage(bucket string, s3 s3iface.S3API) LogPersistentStorage

Directories

Path Synopsis
Package dispatch provides a service to dispatch jobs to the runner.
Package dispatch provides a service to dispatch jobs to the runner.
Package pipeline is a helper package to create and manage pipelines.
Package pipeline is a helper package to create and manage pipelines.

Jump to

Keyboard shortcuts

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