JSFiddle - React, Tailwind, and code Playground

by Matt Anderson

JavaScript

/*
    Endpoint Information
    
    Commands: (* indicates parameter)
    - add check for ip / domain
        *=> ip / host
        *=> port
        *=> type (TCP, HTTP, SMTP, FTP, DNS????)
            ( TCP <--<extends>-- SMTP )
        *=> userId
        => "uniqueId"
        *=> response time (acceptable limit)
        
        type specifics:
            http :=> acceptable status codes
            ftp  :=> user, password
        
        
   - update check
       *=> uniqueId
       ... (any of original add command)
       
   - delete check
       *=> uniqueId
        
   - get check
       => by uniqueId
       
   - get user checks
       => userId
       
        
        
    


*/