mock

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMock = errors.New("mock error")

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	ShouldError bool
}

func (*HTTPServer) ListenAndServe

func (s *HTTPServer) ListenAndServe() error

func (*HTTPServer) ListenAndServeTLS

func (s *HTTPServer) ListenAndServeTLS(certFile, keyFile string) error

Jump to

Keyboard shortcuts

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