Documentation ¶
Index ¶
- type InstrumentedInterface
- func (c *InstrumentedInterface) AcceptIOReader(_c0 io.Reader) (int, error)
- func (c *InstrumentedInterface) AccpeptStructFromSubPkg(_c0 *pkg.EmptyStruct) error
- func (c *InstrumentedInterface) AccpeptVariadic(_c0 ...int) error
- func (c *InstrumentedInterface) AccpeptVariadicStdLib(_c0 ...io.Reader) error
- func (c *InstrumentedInterface) AccpeptVariadicStructFromSubPkg(_c0 *pkg.EmptyStruct, _c1 ...*pkg.EmptyStruct) error
- func (c *InstrumentedInterface) ReturnIOReaderAndError() (io.Reader, error)
- func (c *InstrumentedInterface) ReturnInt() (int, error)
- func (c *InstrumentedInterface) ReturnStructFromSubPkg() (*pkg.EmptyStruct, error)
- func (c *InstrumentedInterface) Simple() error
- type Interface
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 }
Click to show internal directories.
Click to hide internal directories.