binary

package
v0.0.0-...-6da336c Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstrumentedInterface

type InstrumentedInterface struct {
	Interface
	// contains filtered or unexported fields
}

func NewInstrumentedInterface

func NewInstrumentedInterface(impl Interface, r prometheus.Registerer) *InstrumentedInterface

func (*InstrumentedInterface) AcceptIOReader

func (c *InstrumentedInterface) AcceptIOReader(_c0 io.Reader) (int, error)

func (*InstrumentedInterface) AccpeptStructFromSubPkg

func (c *InstrumentedInterface) AccpeptStructFromSubPkg(_c0 *pkg.EmptyStruct) error

func (*InstrumentedInterface) AccpeptVariadic

func (c *InstrumentedInterface) AccpeptVariadic(_c0 ...int) error

func (*InstrumentedInterface) AccpeptVariadicStdLib

func (c *InstrumentedInterface) AccpeptVariadicStdLib(_c0 ...io.Reader) error

func (*InstrumentedInterface) AccpeptVariadicStructFromSubPkg

func (c *InstrumentedInterface) AccpeptVariadicStructFromSubPkg(_c0 *pkg.EmptyStruct, _c1 ...*pkg.EmptyStruct) error

func (*InstrumentedInterface) ReturnIOReaderAndError

func (c *InstrumentedInterface) ReturnIOReaderAndError() (io.Reader, error)

func (*InstrumentedInterface) ReturnInt

func (c *InstrumentedInterface) ReturnInt() (int, error)

func (*InstrumentedInterface) ReturnStructFromSubPkg

func (c *InstrumentedInterface) ReturnStructFromSubPkg() (*pkg.EmptyStruct, error)

func (*InstrumentedInterface) Simple

func (c *InstrumentedInterface) Simple() error

type Interface

type Interface interface {
	Simple() error
	ReturnInt() (int, error)
	AcceptIOReader(io.Reader) (int, error)
	ReturnIOReaderAndError() (io.Reader, error)
	ReturnStructFromSubPkg() (*pkg.EmptyStruct, error)
	AccpeptStructFromSubPkg(*pkg.EmptyStruct) error
	AccpeptVariadic(...int) error
	AccpeptVariadicStructFromSubPkg(*pkg.EmptyStruct, ...*pkg.EmptyStruct) error
	AccpeptVariadicStdLib(...io.Reader) error
}

Jump to

Keyboard shortcuts

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