php

package
v0.0.0-...-d8a4e70 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 15 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 {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(task biz.TaskRepo) *App

func (*App) ClearErrorLog

func (s *App) ClearErrorLog(w http.ResponseWriter, r *http.Request)

func (*App) ClearSlowLog

func (s *App) ClearSlowLog(w http.ResponseWriter, r *http.Request)

func (*App) ErrorLog

func (s *App) ErrorLog(w http.ResponseWriter, r *http.Request)

func (*App) ExtensionList

func (s *App) ExtensionList(w http.ResponseWriter, r *http.Request)

func (*App) GetConfig

func (s *App) GetConfig(w http.ResponseWriter, r *http.Request)

func (*App) GetFPMConfig

func (s *App) GetFPMConfig(w http.ResponseWriter, r *http.Request)

func (*App) InstallExtension

func (s *App) InstallExtension(w http.ResponseWriter, r *http.Request)

func (*App) Load

func (s *App) Load(w http.ResponseWriter, r *http.Request)

func (*App) Route

func (s *App) Route(version uint) func(r chi.Router)

func (*App) SetCli

func (s *App) SetCli(w http.ResponseWriter, r *http.Request)

func (*App) SlowLog

func (s *App) SlowLog(w http.ResponseWriter, r *http.Request)

func (*App) UninstallExtension

func (s *App) UninstallExtension(w http.ResponseWriter, r *http.Request)

func (*App) UpdateConfig

func (s *App) UpdateConfig(w http.ResponseWriter, r *http.Request)

func (*App) UpdateFPMConfig

func (s *App) UpdateFPMConfig(w http.ResponseWriter, r *http.Request)

type Extension

type Extension struct {
	Name        string `json:"name"`
	Slug        string `json:"slug"`
	Description string `json:"description"`
	Installed   bool   `json:"installed"`
}

type ExtensionSlug

type ExtensionSlug struct {
	Slug string `form:"slug" json:"slug" validate:"required"`
}

type UpdateConfig

type UpdateConfig struct {
	Config string `form:"config" json:"config" validate:"required"`
}

Jump to

Keyboard shortcuts

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