testservices

package
v0.0.0-...-9c84b05 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_PORT = 9090
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyService

type DummyService struct {
	Port int
	// contains filtered or unexported fields
}

func (*DummyService) Run

func (ds *DummyService) Run() error

func (*DummyService) ServeHTTP

func (ds *DummyService) ServeHTTP(resp http.ResponseWriter, req *http.Request)

type DummyServiceGen

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

func NewDummyServiceGen

func NewDummyServiceGen(replicas int) *DummyServiceGen

func (*DummyServiceGen) IsReady

func (dsg *DummyServiceGen) IsReady() bool

func (*DummyServiceGen) Start

func (dsg *DummyServiceGen) Start()

func (*DummyServiceGen) Stop

func (dsg *DummyServiceGen) Stop()

type Service

type Service interface {
	Run() error
}

Jump to

Keyboard shortcuts

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