service

package
v0.0.0-...-1bf96ee Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: AGPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SYSTEM_NAME string = "梓豪平台"
	VERSION     string = "v1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MappingService

type MappingService struct {
	// contains filtered or unexported fields
}

func (*MappingService) DeleteMappings

func (mappingService *MappingService) DeleteMappings(ctx iris.Context) result.ResultDto

* 删除 系统信息

func (*MappingService) GetDicts

func (mappingService *MappingService) GetDicts(ctx iris.Context) result.ResultDto

* 查询 系统信息

func (*MappingService) GetMappings

func (mappingService *MappingService) GetMappings(ctx iris.Context) result.ResultDto

* 查询 系统信息

func (*MappingService) SaveMappings

func (mappingService *MappingService) SaveMappings(ctx iris.Context) result.ResultDto

* 保存 系统信息

func (*MappingService) UpdateMappings

func (mappingService *MappingService) UpdateMappings(ctx iris.Context) result.ResultDto

* 修改 系统信息

type MenuService struct {
	// contains filtered or unexported fields
}
func (menuService *MenuService) GetMenus(ctx iris.Context) []map[string]interface{}

* 查询 系统信息

type ServiceSqlService

type ServiceSqlService struct {
	// contains filtered or unexported fields
}

func (*ServiceSqlService) DeleteServiceSqls

func (serviceSqlService *ServiceSqlService) DeleteServiceSqls(ctx iris.Context) result.ResultDto

* 删除 系统信息

func (*ServiceSqlService) GetServiceSqls

func (serviceSqlService *ServiceSqlService) GetServiceSqls(ctx iris.Context) result.ResultDto

* 查询 系统信息

func (*ServiceSqlService) SaveServiceSqls

func (serviceSqlService *ServiceSqlService) SaveServiceSqls(ctx iris.Context) result.ResultDto

* 保存 系统信息

func (*ServiceSqlService) UpdateServiceSqls

func (serviceSqlService *ServiceSqlService) UpdateServiceSqls(ctx iris.Context) result.ResultDto

* 修改 系统信息

type SystemInfoService

type SystemInfoService struct {
}

func (*SystemInfoService) DownloadDir

func (s *SystemInfoService) DownloadDir(ctx iris.Context)

func (*SystemInfoService) DownloadFile

func (s *SystemInfoService) DownloadFile(ctx iris.Context)

func (*SystemInfoService) EditFile

func (s *SystemInfoService) EditFile(ctx iris.Context) (interface{}, interface{})

func (*SystemInfoService) ExecShell

func (s *SystemInfoService) ExecShell(ctx iris.Context) (interface{}, error)

func (*SystemInfoService) Info

func (*SystemInfoService) Info(context iris.Context) system.SystemDto

* 查询 系统信息

func (*SystemInfoService) ListFileContext

func (s *SystemInfoService) ListFileContext(ctx iris.Context) (interface{}, interface{})

func (*SystemInfoService) ListFiles

func (s *SystemInfoService) ListFiles(ctx iris.Context) (interface{}, error)

list files

func (*SystemInfoService) NewFile

func (s *SystemInfoService) NewFile(ctx iris.Context) (interface{}, error)

func (*SystemInfoService) RefreshDns

func (s *SystemInfoService) RefreshDns(ctx iris.Context) (result.ResultDto, error)

func (*SystemInfoService) RefreshFirewallRule

func (s *SystemInfoService) RefreshFirewallRule(ctx iris.Context) (result.ResultDto, error)

func (*SystemInfoService) RefreshInnerNetConfig

func (s *SystemInfoService) RefreshInnerNetConfig(ctx iris.Context) (result.ResultDto, error)

func (*SystemInfoService) RefreshWafConfig

func (s *SystemInfoService) RefreshWafConfig(ctx iris.Context) (result.ResultDto, error)

func (*SystemInfoService) RemoveFile

func (s *SystemInfoService) RemoveFile(ctx iris.Context) (interface{}, error)

func (*SystemInfoService) RenameFile

func (s *SystemInfoService) RenameFile(ctx iris.Context) (interface{}, error)

func (*SystemInfoService) StartContainer

func (s *SystemInfoService) StartContainer(ctx iris.Context) (interface{}, error)

func (*SystemInfoService) StartDns

func (s *SystemInfoService) StartDns(ctx iris.Context) (result.ResultDto, error)

start waf

func (*SystemInfoService) StartInnerNet

func (s *SystemInfoService) StartInnerNet(ctx iris.Context) (result.ResultDto, error)

start waf

func (*SystemInfoService) StartWaf

func (s *SystemInfoService) StartWaf(ctx iris.Context) (result.ResultDto, error)

start waf

func (*SystemInfoService) StopContainer

func (s *SystemInfoService) StopContainer(ctx iris.Context) (interface{}, error)

func (*SystemInfoService) StopDns

func (s *SystemInfoService) StopDns(ctx iris.Context) (result.ResultDto, error)

stop waf

func (*SystemInfoService) StopInnerNet

func (s *SystemInfoService) StopInnerNet(ctx iris.Context) (result.ResultDto, error)

stop waf

func (*SystemInfoService) StopWaf

func (s *SystemInfoService) StopWaf(ctx iris.Context) (result.ResultDto, error)

stop waf

func (*SystemInfoService) UploadFile

func (s *SystemInfoService) UploadFile(ctx iris.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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