operatortest

package
v0.0.0-...-1be23ea Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	*httptest.Server
	// contains filtered or unexported fields
}

func Serve

func Serve(ctx context.Context, o courier.Operator, middlewares ...handler.Middleware) *Server

func (*Server) ApplyHttpTransport

func (s *Server) ApplyHttpTransport(transports ...client.HttpTransport)

func (*Server) Do

func (s *Server) Do(ctx context.Context, req any, meta ...courier.Metadata) courier.Result

Jump to

Keyboard shortcuts

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