package
0.1.0
Repository: https://github.com/jmrodri/gh2jira.git
Documentation: pkg.go.dev

# Functions

MustMarshal helper function that wraps json.Marshal.
NewMockedHTTPClient creates and configures an http.Client that points to a mocked GitHub's backend API.
WithRequestMatch implements a simple FIFO for requests of the given `pattern`.
WithRequestMatchHandler implements a request callback for the given `pattern`.
WriteError helper function to write errors to HTTP handlers.

# Variables

No description provided by the author

# Structs

EndpointPattern models the GitHub's API endpoints.
EnforceHostRoundTripper rewrites all requests with the given `Host`.
FIFOReponseHandler handler implementation that responds to the HTTP requests following a FIFO approach.

# Type aliases

MockBackendOption is used to configure the *mux.router for the mocked backend.