randomtest

package
v0.4.15 Latest Latest
Warning

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

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

Documentation

Overview

SPDX-FileCopyrightText: 2017 Comcast Cable Communications Management, LLC SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Noncer

type Noncer struct {
	mock.Mock
}

Noncer is a stretchr mock for the random.Noncer interface.

func (*Noncer) ExpectNonce

func (n *Noncer) ExpectNonce() *mock.Call

Expect sets an expectation for a Nonce() call. The returned Call object is returned so that it can be further customized.

func (*Noncer) Nonce

func (n *Noncer) Nonce() (string, error)

Jump to

Keyboard shortcuts

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