SYMBOL INDEX (113 symbols across 8 files) FILE: app/app.go type App (line 32) | type App struct method Start (line 42) | func (a *App) Start(ctx context.Context) { method domReady (line 48) | func (a *App) domReady(ctx context.Context) { method beforeClose (line 71) | func (a *App) beforeClose(ctx context.Context) (prevent bool) { method shutdown (line 76) | func (a *App) shutdown(ctx context.Context) { method Greet (line 81) | func (a *App) Greet(name string) string { function NewApp (line 37) | func NewApp() *App { FILE: app/backend/common/vars.go constant AppName (line 28) | AppName = "ES-King" constant Width (line 29) | Width = 1600 constant Height (line 30) | Height = 870 constant Theme (line 31) | Theme = "dark" constant ConfigDir (line 32) | ConfigDir = ".es-king" constant ConfigPath (line 33) | ConfigPath = "config.yaml" constant HistoryPath (line 34) | HistoryPath = "history.yaml" constant ErrLogPath (line 35) | ErrLogPath = "error.log" constant Language (line 36) | Language = "zh-CN" constant PingUrl (line 37) | PingUrl = "https://ysboke.cn/api/kingTool/ping" FILE: app/backend/config/app.go type AppConfig (line 33) | type AppConfig struct method Start (line 38) | func (a *AppConfig) Start(ctx context.Context) { method GetConfig (line 42) | func (a *AppConfig) GetConfig() *types.Config { method SaveConfig (line 62) | func (a *AppConfig) SaveConfig(config *types.Config) string { method SaveTheme (line 79) | func (a *AppConfig) SaveTheme(theme string) string { method getConfigPath (line 96) | func (a *AppConfig) getConfigPath() string { method GetHistory (line 114) | func (a *AppConfig) GetHistory() []*types.History { method SaveHistory (line 127) | func (a *AppConfig) SaveHistory(histories []types.History) string { method getHistoryPath (line 141) | func (a *AppConfig) getHistoryPath() string { method GetVersion (line 160) | func (a *AppConfig) GetVersion() string { method GetAppName (line 164) | func (a *AppConfig) GetAppName() string { method OpenFileDialog (line 168) | func (a *AppConfig) OpenFileDialog(options runtime.OpenDialogOptions) ... method LogErrToFile (line 172) | func (a *AppConfig) LogErrToFile(message string) { FILE: app/backend/service/es.go constant FORMAT (line 38) | FORMAT = "?format=json&pretty" constant StatsApi (line 39) | StatsApi = "/_cluster/stats" + FORMAT constant AddDoc (line 40) | AddDoc = "/_doc" constant HealthApi (line 41) | HealthApi = "/_cluster/health" constant NodesApi (line 42) | NodesApi = "/_nodes/stats/indices,os,fs,process,jvm" constant AllIndexApi (line 43) | AllIndexApi = "/_cat/indices?format=json&pretty&bytes=b" constant ClusterSettings (line 44) | ClusterSettings = "/_cluster/settings" constant ForceMerge (line 45) | ForceMerge = "/_forcemerge?wait_for_completion=false" constant REFRESH (line 46) | REFRESH = "/_refresh" constant FLUSH (line 47) | FLUSH = "/_flush" constant CacheClear (line 48) | CacheClear = "/_cache/clear" constant TasksApi (line 49) | TasksApi = "/_tasks" + FORMAT constant CancelTasksApi (line 50) | CancelTasksApi = "/_tasks/%s/_cancel" type ESService (line 53) | type ESService struct method SetConnect (line 86) | func (es *ESService) SetConnect(key, host, username, password, CACert ... method TestClient (line 107) | func (es *ESService) TestClient(host, username, password, CACert strin... method AddDocument (line 126) | func (es *ESService) AddDocument(index, doc string) *types.ResultResp { method GetNodes (line 144) | func (es *ESService) GetNodes() *types.ResultResp { method GetHealth (line 159) | func (es *ESService) GetHealth() *types.ResultResp { method GetStats (line 174) | func (es *ESService) GetStats() *types.ResultResp { method GetIndexes (line 190) | func (es *ESService) GetIndexes(name string) *types.ResultsResp { method CreateIndex (line 213) | func (es *ESService) CreateIndex(name string, numberOfShards, numberOf... method GetIndexInfo (line 245) | func (es *ESService) GetIndexInfo(indexName string) *types.ResultResp { method DeleteIndex (line 261) | func (es *ESService) DeleteIndex(indexName string) *types.ResultResp { method OpenCloseIndex (line 277) | func (es *ESService) OpenCloseIndex(indexName, now string) *types.Resu... method GetIndexMappings (line 300) | func (es *ESService) GetIndexMappings(indexName string) *types.ResultR... method MergeSegments (line 317) | func (es *ESService) MergeSegments(indexName string) *types.ResultResp { method Refresh (line 334) | func (es *ESService) Refresh(indexName string) *types.ResultResp { method Flush (line 350) | func (es *ESService) Flush(indexName string) *types.ResultResp { method CacheClear (line 366) | func (es *ESService) CacheClear(indexName string) *types.ResultResp { method GetDoc10 (line 383) | func (es *ESService) GetDoc10(indexName string) *types.ResultResp { method Search (line 413) | func (es *ESService) Search(method, path string, body any) *types.Resu... method GetClusterSettings (line 433) | func (es *ESService) GetClusterSettings() *types.ResultResp { method GetIndexSettings (line 449) | func (es *ESService) GetIndexSettings(indexName string) *types.ResultR... method GetIndexAliases (line 465) | func (es *ESService) GetIndexAliases(indexNameList []string) *types.Re... method GetIndexSegments (line 499) | func (es *ESService) GetIndexSegments(indexName string) *types.ResultR... method GetTasks (line 515) | func (es *ESService) GetTasks() *types.ResultsResp { method CancelTasks (line 568) | func (es *ESService) CancelTasks(taskID string) *types.ResultResp { method GetSnapshots (line 588) | func (es *ESService) GetSnapshots() *types.ResultsResp { method GetSnapshotRepositories (line 657) | func (es *ESService) GetSnapshotRepositories() *types.ResultsResp { method CreateSnapshotRepository (line 692) | func (es *ESService) CreateSnapshotRepository(name, repoType, settings... method DeleteSnapshotRepository (line 727) | func (es *ESService) DeleteSnapshotRepository(name string) *types.Resu... method VerifySnapshotRepository (line 749) | func (es *ESService) VerifySnapshotRepository(name string) *types.Resu... method CreateSnapshot (line 771) | func (es *ESService) CreateSnapshot(repository, snapshot, indices stri... method DeleteSnapshot (line 801) | func (es *ESService) DeleteSnapshot(repository, snapshot string) *type... method GetSnapshotDetail (line 823) | func (es *ESService) GetSnapshotDetail(repository, snapshot string) *t... method RestoreSnapshot (line 845) | func (es *ESService) RestoreSnapshot(repository, snapshot, indices, re... method GetSnapshotRestoreStatus (line 881) | func (es *ESService) GetSnapshotRestoreStatus() *types.ResultResp { method GetSLMPolicies (line 900) | func (es *ESService) GetSLMPolicies() *types.ResultsResp { method CreateSLMPolicy (line 931) | func (es *ESService) CreateSLMPolicy(policyId, name, schedule, reposit... method DeleteSLMPolicy (line 981) | func (es *ESService) DeleteSLMPolicy(policyId string) *types.ResultResp { method ExecuteSLMPolicy (line 1003) | func (es *ESService) ExecuteSLMPolicy(policyId string) *types.ResultRe... method DownloadESIndex (line 1038) | func (es *ESService) DownloadESIndex(index string, queryDSL string, fi... function NewESService (line 59) | func NewESService() *ESService { function ConfigureSSL (line 70) | func ConfigureSSL(UseSSL, SkipSSLVerify bool, client *resty.Client, CACe... type SearchResponse (line 1025) | type SearchResponse struct FILE: app/backend/system/update.go type Update (line 32) | type Update struct method Start (line 36) | func (obj *Update) Start(ctx context.Context) { method CheckUpdate (line 39) | func (obj *Update) CheckUpdate() *types.Tag { method GetProcessInfo (line 50) | func (obj *Update) GetProcessInfo() string { FILE: app/backend/types/resp.go type Tag (line 20) | type Tag struct type Config (line 25) | type Config struct type History (line 32) | type History struct type ResultsResp (line 38) | type ResultsResp struct type ResultResp (line 42) | type ResultResp struct type Connect (line 46) | type Connect struct type H (line 56) | type H FILE: app/frontend/src/utils/common.js function renderIcon (line 24) | function renderIcon(icon) { function openUrl (line 29) | function openUrl(url) { function flattenObject (line 34) | function flattenObject(obj, parentKey = '') { function formattedJson (line 55) | function formattedJson(value) { function isValidJson (line 61) | function isValidJson(jsonString) { function formatBytes (line 73) | function formatBytes(bytes, decimals = 2) { function createCsvContent (line 88) | function createCsvContent(allData, columns) { function download_file (line 109) | function download_file(content, fileName, type) { function formatDate (line 124) | function formatDate(date) { function formatTimestamp (line 134) | function formatTimestamp(timestamp) { function refColumns (line 148) | function refColumns(columns) { function calculateWidthByTitle (line 191) | function calculateWidthByTitle(title) { function formatMillis (line 202) | function formatMillis(ms) { function formatMillisToDays (line 217) | function formatMillisToDays(ms){ function formatNumber (line 226) | function formatNumber(num) { FILE: app/main.go function main (line 44) | func main() {