quotatestmonkeypatch

package
v0.0.0-...-7bf56e6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package quotatestmonkeypatch should be imported for its side-effects in tests.

This will monkey-patch the production lua script used by the go.chromium.org/luci/server/quota library to include a compatible (but slow) version of msgpack, which is missing from the current implementation of miniredis.

Do not use this in your production binaries.

Usage

import _ "go.chromium.org/luci/server/quota/quotatestmonkeypatch"

Jump to

Keyboard shortcuts

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