aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/app.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-28 00:54:44 +0900
committerOphestra <cat@gensokyo.uk>2025-08-28 00:54:44 +0900
commitd0b6852cd7db2bb1214c3267719d3ac108c0a53e (patch)
tree3e40ce5b416cab8026197ea173461c5f4d792317 /internal/app/app.go
parentda0459aca1988401c9e8743bedb349d6f8544aa3 (diff)
internal/app: remove app interface
It is very clear at this point that there will not be multiple implementations of App, and the internal/app package will never move out of internal due to hsu. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/app.go')
-rw-r--r--internal/app/app.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/internal/app/app.go b/internal/app/app.go
index 506703c2..d59b145d 100644
--- a/internal/app/app.go
+++ b/internal/app/app.go
@@ -4,22 +4,8 @@ package app
import (
"syscall"
"time"
-
- "hakurei.app/hst"
- "hakurei.app/internal/app/state"
)
-type App interface {
- // ID returns a copy of [state.ID] held by App.
- ID() state.ID
-
- // Seal determines the outcome of config as a [SealedApp].
- // The value of config might be overwritten and must not be used again.
- Seal(config *hst.Config) (SealedApp, error)
-
- String() string
-}
-
type SealedApp interface {
// Run commits sealed system setup and starts the app process.
Run(rs *RunState) error