mocks

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 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 Pooler

type Pooler struct {
	mock.Mock
}

Pooler is an autogenerated mock type for the Pooler type

func (*Pooler) Acquire

func (_m *Pooler) Acquire(cname string, pname string) (int, error)

Acquire provides a mock function with given fields: cname, pname

func (*Pooler) GetHTTPPort added in v0.3.0

func (_m *Pooler) GetHTTPPort(id string) (int, error)

GetHTTPPort provides a mock function with given fields: id

func (*Pooler) GetWSPort added in v0.3.0

func (_m *Pooler) GetWSPort(id string) (int, error)

GetWSPort provides a mock function with given fields: id

func (*Pooler) Init

func (_m *Pooler) Init(rang string) error

Init provides a mock function with given fields: rang

func (*Pooler) Release

func (_m *Pooler) Release(id string) error

Release provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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