server

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	RootContext   context.Context
	Ctrl          *controller.Controller
	RateLimiter   *ratelimit.WindowCounter
	HooksAPI      *hooks.API
	WorkflowAPI   *workflowapi.API
	FilesystemAPI *filesystem.API
	HarnessesAPI  *harnessinfo.API
	SettingsAPI   *settingsapi.API
}

func New

func New(rootCtx context.Context, ctrl *controller.Controller, hooksAPI *hooks.API, workflowAPI *workflowapi.API) *Server

func (*Server) HandleRequest

func (s *Server) HandleRequest(request requests.Request) (interface{}, error)

Jump to

Keyboard shortcuts

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