statistical

package
v5.2.0-beta1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2020 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskCache

type DiskCache struct {
	// contains filtered or unexported fields
}

DiskCache 磁盘异步统计

func CreatDiskCache

func CreatDiskCache(ctx context.Context) *DiskCache

CreatDiskCache 创建

func (*DiskCache) Get

func (d *DiskCache) Get() map[string]float64

Get 获取磁盘统计结果

func (*DiskCache) GetServiceDisk

func (d *DiskCache) GetServiceDisk(serviceID string) float64

GetServiceDisk GetServiceDisk

func (*DiskCache) GetTenantDisk

func (d *DiskCache) GetTenantDisk(tenantID string) float64

GetTenantDisk GetTenantDisk

func (*DiskCache) Start

func (d *DiskCache) Start()

Start 开始启动统计

func (*DiskCache) Stop

func (d *DiskCache) Stop()

Stop stop

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL