Service implements the RPC client for remote scanning
| 31 | |
| 32 | // Service implements the RPC client for remote scanning |
| 33 | type Service struct { |
| 34 | remoteURL string |
| 35 | customHeaders http.Header |
| 36 | client rpc.Scanner |
| 37 | httpClient *http.Client |
| 38 | } |
| 39 | |
| 40 | // NewService is the factory method to return RPC Service |
| 41 | func NewService(scannerOptions ServiceOption) Service { |
nothing calls this directly
no outgoing calls
no test coverage detected