(h http.Handler)
| 46 | } |
| 47 | |
| 48 | func WithHandler(h http.Handler) Option { |
| 49 | return func(s *Server) *Server { |
| 50 | s.handler = h |
| 51 | return s |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | func WithResponse(resp []byte) Option { |
| 56 | return func(s *Server) *Server { |
no outgoing calls
no test coverage detected
searching dependent graphs…