Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemStats ¶
type SystemStats struct {
Process struct {
PID int
Uptime time.Duration
NumGoroutine int
DBSize int64
}
Platform struct {
GoVersion string
GOOS string
GOARCH string
GOROOT string
}
Discord struct {
Intents int
Sharding bool
Shards int
Guilds int
}
Mem struct {
Allocated string
Total string
Sys string
Lookups uint64
Mallocs uint64
Frees uint64
}
Heap struct {
Alloc string
Sys string
Idle string
Inuse string
Released string
Objects uint64
}
GC struct {
NextGC string
LastGC string
PauseTotalNs string
PauseNs string
NumGC uint32
}
Misc struct {
StackInuse string
StackSys string
MSpanInuse string
MSpanSys string
MCacheInuse string
MCacheSys string
GCSys string
BuckHashSys string
OtherSys string
}
}
SystemStats represents stats of the instance.
Source Files
¶
- stats.go
Click to show internal directories.
Click to hide internal directories.