mock

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(pingFunc func(ctx context.Context, address boson.Address, msgs ...string) (rtt time.Duration, err error)) *Service

func (*Service) Ping

func (s *Service) Ping(ctx context.Context, address boson.Address, msgs ...string) (rtt time.Duration, err error)

Jump to

Keyboard shortcuts

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