fuzzy

package
v0.0.0-...-e3e1183 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMeshCluster

func CreateMeshCluster(t *testing.T, stop chan struct{}, serverList []string, appproto, meshproto types.Protocol) string

func CreateMeshProxy

func CreateMeshProxy(t *testing.T, stop chan struct{}, serverList []string, proto types.Protocol) string

func FuzzyClient

func FuzzyClient(stop chan struct{}, client Client)

func FuzzyServer

func FuzzyServer(stop chan struct{}, servers []Server, interval time.Duration)

Make sure server will be closed and restart

Types

type Client

type Client interface {
	SendRequest()
}

type Server

type Server interface {
	// Close closes the server
	// If finished is true, the server cannot be restarted again.
	Close(finished bool)
	ReStart()
}

Jump to

Keyboard shortcuts

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