testtype

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MockHeadProxyContext = func() (pctx inject.ProxyContext) {
		pctx = mockCommonProxyContext
		pctx.MethodName = "Head"
		return
	}()
)

Functions

This section is empty.

Types

type I

type I interface {
	Head(ctx context.Context, p a.Pa) (b.Pb, error)
}

type Mock

type Mock struct {
	HeadFunc func(ctx context.Context, p a.Pa) (big.Int, error)
}

func (*Mock) Head

func (mockRecv *Mock) Head(ctx context.Context, p a.Pa) (big.Int, error)

Directories

Path Synopsis
a
b

Jump to

Keyboard shortcuts

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