cachetest

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cachetest 缓存的测试用例

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Basic

func Basic(a *assert.Assertion, c cache.Driver)

Basic 测试基本功能

func BenchBasic added in v0.14.0

func BenchBasic(b *testing.B, c cache.Driver)

BenchBasic 测试基本功能的性能

func BenchCounter added in v0.14.0

func BenchCounter(b *testing.B, d cache.Driver)

BenchCounter 测试计数器的性能

func BenchObject added in v0.14.0

func BenchObject(b *testing.B, c cache.Driver)

BenchObject 测试对象的缓存性能

func Counter

func Counter(a *assert.Assertion, d cache.Driver)

Counter 测试计数器

func Object

func Object(a *assert.Assertion, c cache.Driver)

Object 测试对象的缓存

Types

This section is empty.

Jump to

Keyboard shortcuts

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