MCPcopy Create free account
hub / github.com/LeoninCS/DevDesk / NewHttpTestService

Function NewHttpTestService

backend/internal/service/HttpTest.go:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func NewHttpTestService() *HttpTestService {
30 return &HttpTestService{
31 client: &http.Client{
32 Timeout: 10 * time.Second,
33 },
34 }
35}
36
37func (s *HttpTestService) Do(req *HttpTestReq) (*HttpTestResp, error) {
38 if strings.TrimSpace(req.URL) == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected