MockServerOption is a function that configures a MockServer.
func(*MockServer)
| 49 | |
| 50 | // MockServerOption is a function that configures a MockServer. |
| 51 | type MockServerOption func(*MockServer) |
| 52 | |
| 53 | // WithHandler sets a custom request handler. |
| 54 | func WithHandler(h http.HandlerFunc) MockServerOption { |
nothing calls this directly
no outgoing calls
no test coverage detected