diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-06-25 03:59:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-06-25 04:57:41 +0900 |
| commit | 87e008d56de974947ebb99c2cc40b25d3c2cf43e (patch) | |
| tree | 31791911e5226d6ec04e3fac7d91b0bf53e63aa5 /internal/state/state.go | |
| parent | 399207321265307bb15f37d867f9370cd51c82a8 (diff) | |
treewide: rename to hakurei
Fortify makes little sense for a container tool.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/state/state.go')
| -rw-r--r-- | internal/state/state.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/state/state.go b/internal/state/state.go index 609b4e92..0c07b371 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -5,8 +5,8 @@ import ( "io" "time" - "git.gensokyo.uk/security/fortify/fst" - "git.gensokyo.uk/security/fortify/internal/app" + "git.gensokyo.uk/security/hakurei/hst" + "git.gensokyo.uk/security/hakurei/internal/app" ) var ErrNoConfig = errors.New("state does not contain config") @@ -35,14 +35,14 @@ type Cursor interface { Len() (int, error) } -// State is a fortify process's state +// State is an instance state type State struct { - // fortify instance id + // hakurei instance id ID app.ID `json:"instance"` // child process PID value PID int `json:"pid"` // sealed app configuration - Config *fst.Config `json:"config"` + Config *hst.Config `json:"config"` // process start time Time time.Time `json:"time"` |
