Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyStruct ¶
func CopyStruct(src interface{}, dst interface{}) error
CopyStruct serializes src and tries to deserialize it to dst
func CreateCertificate ¶
func CreateValidationMap ¶
func CreateValidationMap(valid validation.Validation) map[string]map[string]string
CreateValidationMap ranslates validation structure to map that can be easly presented in template
Types ¶
type Cert ¶
type Cert struct { EntryType string Expiration string ExpirationT time.Time Revocation string RevocationT time.Time Serial string FileName string Details *Details }
Cert https://groups.google.com/d/msg/mailing.openssl.users/gMRbePiuwV0/wTASgPhuPzkJ
type SystemInfo ¶
type SystemInfo struct { Memory sigar.Mem Swap sigar.Swap Uptime int UptimeS string LoadAvg sigar.LoadAverage CPUList sigar.CpuList Arch string Os string CurrentTime time.Time }
SystemInfo contains basic information about system load
func GetSystemInfo ¶
func GetSystemInfo() SystemInfo
GetSystemInfo returns short info about system load
Click to show internal directories.
Click to hide internal directories.