1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"nodes": [{"id": "$graphify-root$_internal_db_queries_go", "label": "queries.go", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L1"}, {"id": "$graphify-root$_internal_db_queries_equalfold", "label": "equalFold()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L12"}, {"id": "$graphify-root$_internal_db_queries_domainpart", "label": "domainPart()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L14"}, {"id": "$graphify-root$_internal_db_queries_hashpassword", "label": "HashPassword()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L27"}, {"id": "$graphify-root$_internal_db_queries_checkpassword", "label": "CheckPassword()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L36"}, {"id": "db_db", "label": "DB", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L42"}, {"id": "db_db_getsenderbyemail", "label": ".GetSenderByEmail()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L42"}, {"id": "sender", "label": "Sender", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/db/queries.go"}, {"id": "$graphify-root$_internal_db_queries_scandomain", "label": "scanDomain()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L60"}, {"id": "row", "label": "Row", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/db/queries.go"}, {"id": "domain", "label": "Domain", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/db/queries.go"}, {"id": "db_db_getdomainbyname", "label": ".GetDomainByName()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L79"}, {"id": "db_db_getwhitelistedip", "label": ".GetWhitelistedIP()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L87"}, {"id": "whitelistedip", "label": "WhitelistedIP", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/db/queries.go"}, {"id": "db_whitelistedip", "label": "WhitelistedIP", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L117"}, {"id": "db_whitelistedip_cansendfordomain", "label": ".CanSendForDomain()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L117"}, {"id": "db_db_logauthattempt", "label": ".LogAuthAttempt()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L129"}, {"id": "$graphify-root$_internal_db_queries_parsetime", "label": "parseTime()", "file_type": "code", "source_file": "internal/db/queries.go", "source_location": "L135"}, {"id": "time", "label": "Time", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/db/queries.go"}], "edges": [{"source": "$graphify-root$_internal_db_queries_go", "target": "go_pkg_database_sql", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_queries_go", "target": "go_pkg_errors", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_queries_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_queries_go", "target": "go_pkg_time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_queries_go", "target": "go_pkg_golang_org_x_crypto_bcrypt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_queries_go", "target": "$graphify-root$_internal_db_queries_equalfold", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_go", "target": "$graphify-root$_internal_db_queries_domainpart", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_go", "target": "$graphify-root$_internal_db_queries_hashpassword", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_go", "target": "$graphify-root$_internal_db_queries_checkpassword", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L36", "weight": 1.0}, {"source": "db_db", "target": "db_db_getsenderbyemail", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L42", "weight": 1.0}, {"source": "db_db_getsenderbyemail", "target": "sender", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L42", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_db_queries_go", "target": "$graphify-root$_internal_db_queries_scandomain", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L60", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_scandomain", "target": "row", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L60", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_db_queries_scandomain", "target": "domain", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L60", "weight": 1.0, "context": "return_type"}, {"source": "db_db", "target": "db_db_getdomainbyname", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L79", "weight": 1.0}, {"source": "db_db_getdomainbyname", "target": "domain", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L79", "weight": 1.0, "context": "return_type"}, {"source": "db_db", "target": "db_db_getwhitelistedip", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L87", "weight": 1.0}, {"source": "db_db_getwhitelistedip", "target": "whitelistedip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L87", "weight": 1.0, "context": "return_type"}, {"source": "db_whitelistedip", "target": "db_whitelistedip_cansendfordomain", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L117", "weight": 1.0}, {"source": "db_whitelistedip_cansendfordomain", "target": "db_db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L117", "weight": 1.0, "context": "parameter_type"}, {"source": "db_db", "target": "db_db_logauthattempt", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L129", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_go", "target": "$graphify-root$_internal_db_queries_parsetime", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L135", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_parsetime", "target": "time", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L135", "weight": 1.0, "context": "return_type"}, {"source": "db_db_getsenderbyemail", "target": "$graphify-root$_internal_db_queries_parsetime", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_internal_db_queries_scandomain", "target": "$graphify-root$_internal_db_queries_parsetime", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L70", "weight": 1.0}, {"source": "db_db_getdomainbyname", "target": "$graphify-root$_internal_db_queries_scandomain", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L82", "weight": 1.0}, {"source": "db_db_getwhitelistedip", "target": "db_db_getdomainbyname", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L93", "weight": 1.0}, {"source": "db_db_getwhitelistedip", "target": "$graphify-root$_internal_db_queries_parsetime", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L111", "weight": 1.0}, {"source": "db_whitelistedip_cansendfordomain", "target": "db_db_getdomainbyname", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/queries.go", "source_location": "L121", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_db_queries_equalfold", "callee": "EqualFold", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L12"}, {"caller_nid": "$graphify-root$_internal_db_queries_domainpart", "callee": "LastIndex", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L15"}, {"caller_nid": "$graphify-root$_internal_db_queries_domainpart", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L19"}, {"caller_nid": "$graphify-root$_internal_db_queries_hashpassword", "callee": "GenerateFromPassword", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L28"}, {"caller_nid": "$graphify-root$_internal_db_queries_hashpassword", "callee": "string", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L32"}, {"caller_nid": "$graphify-root$_internal_db_queries_checkpassword", "callee": "CompareHashAndPassword", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L37"}, {"caller_nid": "db_db_getsenderbyemail", "callee": "QueryRow", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L43"}, {"caller_nid": "db_db_getsenderbyemail", "callee": "Scan", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L47"}, {"caller_nid": "db_db_getsenderbyemail", "callee": "Is", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L48"}, {"caller_nid": "$graphify-root$_internal_db_queries_scandomain", "callee": "Scan", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L64"}, {"caller_nid": "$graphify-root$_internal_db_queries_scandomain", "callee": "Is", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L65"}, {"caller_nid": "db_db_getdomainbyname", "callee": "QueryRow", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L80"}, {"caller_nid": "db_db_getwhitelistedip", "callee": "QueryRow", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L90"}, {"caller_nid": "db_db_getwhitelistedip", "callee": "QueryRow", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L100"}, {"caller_nid": "db_db_getwhitelistedip", "callee": "Scan", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L105"}, {"caller_nid": "db_db_getwhitelistedip", "callee": "Is", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L106"}, {"caller_nid": "db_db_logauthattempt", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L130"}, {"caller_nid": "$graphify-root$_internal_db_queries_parsetime", "callee": "Parse", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L137"}, {"caller_nid": "$graphify-root$_internal_db_queries_parsetime", "callee": "New", "is_member_call": false, "language": "go", "source_file": "internal/db/queries.go", "source_location": "L141"}]} |