mocks

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	AddFn        func(int) error
	Add64Fn      func(int64) error
	CloseFn      func() error
	CurrentFn    func(uint32) int64
	SetCurrentFn func(uint32, int64) error
	// contains filtered or unexported fields
}

func (*Bar) Add

func (b *Bar) Add(n int) error

func (*Bar) Add64

func (b *Bar) Add64(n int64) error

func (*Bar) Close

func (b *Bar) Close() error

func (*Bar) Current added in v0.9.0

func (b *Bar) Current() int64

func (*Bar) GetClosedCalls added in v0.9.0

func (b *Bar) GetClosedCalls() uint32

func (*Bar) SetCurrent added in v0.9.0

func (b *Bar) SetCurrent(value int64) error

Jump to

Keyboard shortcuts

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