Versions in this module Expand all Collapse all v1 v1.1.2 Nov 23, 2023 v1.1.1 Jul 6, 2023 v1.1.0 Jun 29, 2023 v1.0.9 Jun 18, 2023 v1.0.8 Jun 13, 2023 v1.0.7 Jun 12, 2023 v1.0.6 Jun 10, 2023 Changes in this version type Varz + WSAddr string v1.0.5 Jun 10, 2023 v1.0.3 May 26, 2023 Changes in this version + func ScanPort(protocol string, hostname string, port int) bool + type API struct + func NewAPI() *API + func (a *API) Route(uids []string) (map[string]string, error) + func (a *API) SetBaseURL(baseURL string) + func (a *API) Varz() (*Varz, error) type Varz + Commit string + CommitDate string + MonitorAddr string + MonitorOn int + TCPAddr string + TreeState string + WSSAddr string + WSSOn int v1.0.1 May 25, 2023 Changes in this version + const DEFAULT_HOST_PADDING_SIZE + const DEFAULT_PADDING + const DEFAULT_PADDING_SIZE + var Commit string + var CommitDate string + var Version string + func Psize(displayRawValue bool, s int64) string + type CMD interface + CMD func() *cobra.Command + type ConnInfo struct + Device string + DeviceID string + ID int64 + IP string + Idle string + InBytes int64 + InMsgs int64 + LastActivity time.Time + OutBytes int64 + OutMsgs int64 + PendingBytes int + Port int + UID string + Uptime string + Version uint8 + type Connz struct + Connections []*ConnInfo + Limit int + Now time.Time + Offset int + Total int + type Options struct + Description string + ServerAddr string + Token string + func NewOptions() *Options + func (o *Options) ContextDir() string + func (o *Options) ContextPath(name string) (string, error) + func (o *Options) Load() error + func (o *Options) Save(name string) error + type Rates struct + InBytesRate float64 + InMsgsRate float64 + OutBytesRate float64 + OutMsgsRate float64 + type RedrawCause int + const DueToNewStats + const DueToViewportResize + type SortOpt string + const ByID + func (s SortOpt) IsValid() bool + type Stats struct + Connz *Connz + Error error + Rates *Rates + Varz *Varz + type Varz struct + CPU float64 + Connections int + InBytes int64 + InMsgs int64 + Mem int64 + OutBytes int64 + OutMsgs int64 + ServerID string + ServerName string + SlowConsumers int64 + Uptime string + Version string + type ViewMode int + const HelpViewMode + const TopViewMode + type WuKongIM struct + func NewWuKongIM() *WuKongIM + func (l *WuKongIM) Execute() + type WuKongIMContext struct + func NewWuKongIMContext(w *WuKongIM) *WuKongIMContext