forked from security/hakurei
hst: expose version string
The hst API is tied to this version string. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -52,7 +52,10 @@ type Paths struct {
|
||||
RunDirPath *check.Absolute `json:"run_dir_path"`
|
||||
}
|
||||
|
||||
// Info holds basic system information collected from the implementation.
|
||||
type Info struct {
|
||||
// Version is a hardcoded version string.
|
||||
Version string `json:"version"`
|
||||
// User is the userid according to hsu.
|
||||
User int `json:"user"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user