Documentation ¶
Overview ¶
Node-level utilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStats ¶
type MemoryStats struct { int64 `json:"allocated_slabs"` Capacity int64 `json:"capacity"` } `json:"kong"` KongDbCache struct { AllocatedSlabs int64 `json:"allocated_slabs"` Capacity int64 `json:"capacity"` } `json:"kong_db_cache"` } `json:"lua_shared_dicts"` WorkersLuaVms []workerLuaVmStats `json:"workers_lua_vms"` }Kong struct { AllocatedSlabs
type Node ¶
Holds this module's functions. Accessible as `kong.Node`
func (Node) GetMemoryStats ¶
func (n Node) GetMemoryStats() (MemoryStats, error)
kong.Node.GetMemoryStats() returns memory usage statistics about this node.
Click to show internal directories.
Click to hide internal directories.