{"modulePath":"github.com/GoAdminLive/go-admin","version":"v0.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package system\n\n## Functions\n\n```go\nfunc RequireThemeVersion() map[string][]string\n```\nRequireThemeVersion return the require official version\n\n```go\nfunc Version() string\n```\nVersion return the version of framework.\n\n## Types\n\n```go\ntype AppStatus struct {\n\tUptime       string\n\tNumGoroutine int\n\n\t// General statistics.\n\tMemAllocated string // bytes allocated and still in use\n\tMemTotal     string // bytes allocated (even if freed)\n\tMemSys       string // bytes obtained from system (sum of XxxSys below)\n\tLookups      uint64 // number of pointer lookups\n\tMemMallocs   uint64 // number of mallocs\n\tMemFrees     uint64 // number of frees\n\n\t// Main allocation heap statistics.\n\tHeapAlloc    string // bytes allocated and still in use\n\tHeapSys      string // bytes obtained from system\n\tHeapIdle     string // bytes in idle spans\n\tHeapInuse    string // bytes in non-idle span\n\tHeapReleased string // bytes released to the OS\n\tHeapObjects  uint64 // total number of allocated objects\n\n\t// Low-level fixed-size structure allocator statistics.\n\t//\tInuse is bytes used now.\n\t//\tSys is bytes obtained from system.\n\tStackInuse  string // bootstrap stacks\n\tStackSys    string\n\tMSpanInuse  string // mspan structures\n\tMSpanSys    string\n\tMCacheInuse string // mcache structures\n\tMCacheSys   string\n\tBuckHashSys string // profiling bucket hash table\n\tGCSys       string // GC metadata\n\tOtherSys    string // other system allocations\n\n\t// Garbage collector statistics.\n\tNextGC       string // next run in HeapAlloc time (bytes)\n\tLastGC       string // last run in absolute time (ns)\n\tPauseTotalNs string\n\tPauseNs      string // circular buffer of recent GC pause times, most recent at [(NumGC+255)%256]\n\tNumGC        uint32\n}\n```\n\n```go\nfunc GetAppStatus() AppStatus\n```\n\n```go\ntype SysStatus struct {\n\tCpuLogicalCore int\n\tCpuCore        int\n\tOSPlatform     string\n\tOSFamily       string\n\tOSVersion      string\n\tLoad1          float64\n\tLoad5          float64\n\tLoad15         float64\n\tMemTotal       string\n\tMemAvailable   string\n\tMemUsed        string\n}\n```\n\n","path":"github.com/GoAdminLive/go-admin/modules/system","name":"system","synopsis":"","isRedistributable":true}
