audittest

package
v1.0.0-rc.11 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package audittest provides functions for convenient testing of audit package API.

Note that importing the package into source files is highly discouraged.

Random instance generation functions can be useful when testing expects any value, e.g.:

import audittest "github.com/nspcc-dev/neofs-sdk-go/audit/test"

dec := audittest.Result()
// test the value

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Result

func Result() audit.Result

Result returns random audit.Result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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