feature: Adds basic data command support.

This commit is contained in:
Tera << 8 2025-02-16 15:02:50 -05:00
parent ede4d528aa
commit 17e1491f96
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
14 changed files with 2241 additions and 195 deletions

View file

@ -18,7 +18,7 @@ type BackendApplicationHelper struct {
func (helper *BackendApplicationHelper) Start() error {
log.Debug("BackendApplicationHelper is starting")
err := configureAndLaunchBackgroundProfilingTasks()
err := ConfigureProfiling()
if err != nil {
return err

View file

@ -4,6 +4,6 @@ package backendutil
var endProfileFunc func()
func configureAndLaunchBackgroundProfilingTasks() error {
func ConfigureProfiling() error {
return nil
}

View file

@ -15,7 +15,7 @@ import (
"golang.org/x/exp/rand"
)
func configureAndLaunchBackgroundProfilingTasks() error {
func ConfigureProfiling() error {
profilingMode, err := os.ReadFile("/tmp/hermes.backendlauncher.profilebackends")
if err != nil && errors.Is(err, os.ErrNotExist) {