internal

package
v0.0.0-...-c20d9b3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: AGPL-3.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type APIHandlers

type APIHandlers struct {
	OpenAIV1Handler      *v1.V1Handler
	UserHandler          *userV1.UserHandler
	ModelHandler         *modelv1.ModelHandler
	DashboardHandler     *dashv1.DashboardHandler
	CodeSnippetHandler   *codesnippetv1.CodeSnippetHandler
	SocketHandler        *sockethandler.SocketHandler
	BillingHandler       *billingv1.BillingHandler
	WorkspaceFileHandler *workspacehandlerv1.WorkspaceFileHandler
	SecurityHandler      *securityv1.SecurityHandler
}

APIHandlers 包含所有API处理器

func NewAPIHandlers

func NewAPIHandlers(
	openaiV1 *v1.V1Handler,
	userV1 *userV1.UserHandler,
	modelV1 *modelv1.ModelHandler,
	dashboardV1 *dashv1.DashboardHandler,
	codeSnippetV1 *codesnippetv1.CodeSnippetHandler,
	socketH *sockethandler.SocketHandler,
	billingV1 *billingv1.BillingHandler,
	workspaceFileV1 *workspacehandlerv1.WorkspaceFileHandler,
	securityV1 *securityv1.SecurityHandler,
) *APIHandlers

NewAPIHandlers 创建 APIHandlers 实例

Directories

Path Synopsis
billing
codesnippet
dashboard
extension
model
openai
report
scanner
security
socket
user
workspace

Jump to

Keyboard shortcuts

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