Documentation
¶
Overview ¶
This package provides a mock server for testing fuzzing templates
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlaygroundServer ¶ added in v3.10.0
type PlaygroundServer struct {
// contains filtered or unexported fields
}
PlaygroundServer wraps the fuzz playground handler with the lifecycle methods used by the integration tests and the standalone playground command.
func GetPlaygroundServer ¶
func GetPlaygroundServer() *PlaygroundServer
func (*PlaygroundServer) Close ¶ added in v3.10.0
func (s *PlaygroundServer) Close() error
func (*PlaygroundServer) ServeHTTP ¶ added in v3.10.0
func (s *PlaygroundServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*PlaygroundServer) Start ¶ added in v3.10.0
func (s *PlaygroundServer) Start(addr string) error
Click to show internal directories.
Click to hide internal directories.