ServerInfo() map[string]interface{}
: query server info
minimumCapacity
: minimum allowed capacity for any clientfreeClientCapacity
: capacity assigned to free (unknown, non-priority) clientstotalCapacity
: total allowed capacity of simultaneously connected clients (may change dynamically during operation)totalConnectedCapacity
: total capacity of currently connected clientspriorityConnectedCapacity
: total capacity of currently connected priority clientstotalPriorityCapacity
: total capacity of all priority clients (may exceedtotalCapacity
in which case priority clients might be rejected too)
SetClientParams(ids []string, tags []string, params map[string]interface{}) error
: set certain parameter fields for each client whose id is in the ids
list or has all tags in the tags
list
userTags
: user tags assigned to the client