gateway

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REGISTER  = "registered"
	EXECUTING = "executing"
	RUNNING   = "running"
)

Variables

This section is empty.

Functions

func StartServer added in v0.3.2

func StartServer(
	ctx context.Context,
	wg *errgroup.Group,
	address string,
	srvr *server.Server,
	config config.Config,
)

Types

type ResponseRecorder

type ResponseRecorder struct {
	http.ResponseWriter
	Body       *bytes.Buffer
	StatusCode int
}

func (*ResponseRecorder) Write added in v0.3.2

func (rec *ResponseRecorder) Write(b []byte) (int, error)

func (*ResponseRecorder) WriteHeader added in v0.3.2

func (rec *ResponseRecorder) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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