SSHSecure/utils/struct.go
brent s 7f98e7aa15
yeah so as a temporary measure, i'm using ssh-keygen for now.
but i'll need to natively incorporate it still.
2021-07-03 23:01:58 -04:00

32 lines
424 B
Go

package utils
import (
"time"
"github.com/Masterminds/semver"
)
type runInfo struct {
TimeStarted time.Time
Pid int
}
type SshVerInfo struct {
Major uint
Minor uint
Patch uint
Raw string
SemVer semver.Version
SslInfo OpenSslInfo
}
type OpenSslInfo struct {
Major uint
Minor uint
Patch uint
Revision string
BuildDate time.Time
Raw string
SemVer semver.Version
}