mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-14 17:37:55 +08:00
53 lines
1.1 KiB
Go
53 lines
1.1 KiB
Go
export namespace Nginx {
|
|
export interface NginxScopeReq {
|
|
scope: string;
|
|
}
|
|
export interface NginxParam {
|
|
name: string;
|
|
params: string[];
|
|
}
|
|
|
|
export interface NginxConfigReq {
|
|
operate: string;
|
|
websiteId?: number;
|
|
scope: string;
|
|
params?: any;
|
|
}
|
|
|
|
export interface NginxStatus {
|
|
accepts: string;
|
|
handled: string;
|
|
active: string;
|
|
requests: string;
|
|
reading: string;
|
|
writing: string;
|
|
waiting: string;
|
|
}
|
|
|
|
export interface NginxFileUpdate {
|
|
content: string;
|
|
backup: boolean;
|
|
}
|
|
|
|
export interface NginxBuildReq {
|
|
taskID: string;
|
|
mirror: string;
|
|
}
|
|
|
|
export interface NginxModule {
|
|
name: string;
|
|
script?: string;
|
|
packages?: string;
|
|
enable: boolean;
|
|
params: string;
|
|
}
|
|
|
|
export interface NginxBuildConfig {
|
|
mirror: string;
|
|
modules: NginxModule[];
|
|
}
|
|
|
|
export interface NginxModuleUpdate extends NginxModule {
|
|
operate: string;
|
|
}
|
|
}
|