Files
mailgoserver/graphify-out/cache/ast/v0.9.37/e339714fab7abed2b87b4442c647471a2ff170284c8dab4bbd0df32e8df02830.json
T

1 line
19 KiB
JSON

{"nodes": [{"id": "$graphify-root$_internal_dkim_dkim_go", "label": "dkim.go", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L1"}, {"id": "$graphify-root$_internal_dkim_dkim_generateselector", "label": "GenerateSelector()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L30"}, {"id": "dkim_manager", "label": "Manager", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L41"}, {"id": "db", "label": "DB", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/dkim/dkim.go"}, {"id": "$graphify-root$_internal_dkim_dkim_new", "label": "New()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L46"}, {"id": "dkim_manager_generatedkimkeypair", "label": ".GenerateDKIMKeypair()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L56"}, {"id": "$graphify-root$_internal_dkim_dkim_encodekeypair", "label": "encodeKeyPair()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L103"}, {"id": "privatekey", "label": "PrivateKey", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/dkim/dkim.go"}, {"id": "dkim_manager_getactivedkimkey", "label": ".GetActiveDKIMKey()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L119"}, {"id": "dkimkey", "label": "DKIMKey", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/dkim/dkim.go"}, {"id": "dkim_dnsrecord", "label": "DNSRecord", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L129"}, {"id": "dkim_manager_getdkimpublickeyrecord", "label": ".GetDKIMPublicKeyRecord()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L136"}, {"id": "$graphify-root$_internal_dkim_dkim_rawbase64frompem", "label": "rawBase64FromPEM()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L149"}, {"id": "dkim_manager_sign", "label": ".Sign()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L160"}, {"id": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "label": "stripExistingSignature()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L198"}, {"id": "$graphify-root$_internal_dkim_dkim_verifyinbound", "label": "VerifyInbound()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L223"}, {"id": "dkim_manager_getactivecustomheaders", "label": ".GetActiveCustomHeaders()", "file_type": "code", "source_file": "internal/dkim/dkim.go", "source_location": "L237"}], "edges": [{"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_crypto", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_crypto_rand", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_crypto_rsa", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_crypto_x509", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_encoding_base64", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L10", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_encoding_pem", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_fmt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L12", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_math_big", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L13", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L14", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_time", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L15", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_github_com_emersion_go_msgauth_dkim", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L17", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "go_pkg_mailgoserver_internal_db", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L18", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "$graphify-root$_internal_dkim_dkim_generateselector", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "dkim_manager", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L41", "weight": 1.0}, {"source": "dkim_manager", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L42", "weight": 1.0, "context": "field"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "$graphify-root$_internal_dkim_dkim_new", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_internal_dkim_dkim_new", "target": "db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L46", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_dkim_dkim_new", "target": "dkim_manager", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L46", "weight": 1.0, "context": "return_type"}, {"source": "dkim_manager", "target": "dkim_manager_generatedkimkeypair", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L56", "weight": 1.0}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "$graphify-root$_internal_dkim_dkim_encodekeypair", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L103", "weight": 1.0}, {"source": "$graphify-root$_internal_dkim_dkim_encodekeypair", "target": "privatekey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L103", "weight": 1.0, "context": "parameter_type"}, {"source": "dkim_manager", "target": "dkim_manager_getactivedkimkey", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L119", "weight": 1.0}, {"source": "dkim_manager_getactivedkimkey", "target": "dkimkey", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L119", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "dkim_dnsrecord", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L129", "weight": 1.0}, {"source": "dkim_manager", "target": "dkim_manager_getdkimpublickeyrecord", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L136", "weight": 1.0}, {"source": "dkim_manager_getdkimpublickeyrecord", "target": "dkim_dnsrecord", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L136", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "$graphify-root$_internal_dkim_dkim_rawbase64frompem", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L149", "weight": 1.0}, {"source": "dkim_manager", "target": "dkim_manager_sign", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L160", "weight": 1.0}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L198", "weight": 1.0}, {"source": "$graphify-root$_internal_dkim_dkim_go", "target": "$graphify-root$_internal_dkim_dkim_verifyinbound", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L223", "weight": 1.0}, {"source": "dkim_manager", "target": "dkim_manager_getactivecustomheaders", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L237", "weight": 1.0}, {"source": "dkim_manager_generatedkimkeypair", "target": "$graphify-root$_internal_dkim_dkim_generateselector", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L71", "weight": 1.0}, {"source": "dkim_manager_generatedkimkeypair", "target": "$graphify-root$_internal_dkim_dkim_encodekeypair", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L91", "weight": 1.0}, {"source": "dkim_manager_getdkimpublickeyrecord", "target": "dkim_manager_getactivedkimkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L137", "weight": 1.0}, {"source": "dkim_manager_getdkimpublickeyrecord", "target": "$graphify-root$_internal_dkim_dkim_rawbase64frompem", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L141", "weight": 1.0}, {"source": "dkim_manager_sign", "target": "dkim_manager_getactivedkimkey", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L161", "weight": 1.0}, {"source": "dkim_manager_sign", "target": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/dkim/dkim.go", "source_location": "L178", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_dkim_dkim_generateselector", "callee": "NewInt", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L32"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_generateselector", "callee": "int64", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L32"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_generateselector", "callee": "string", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L37"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "GetDomainByNameExact", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L57"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "Now", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L65"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L66"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "GetDKIMKeyByDomainAndSelector", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L75"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L80"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "GenerateKey", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L87"}, {"caller_nid": "dkim_manager_generatedkimkeypair", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L96"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_encodekeypair", "callee": "MarshalPKCS8PrivateKey", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L104"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_encodekeypair", "callee": "string", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L108"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_encodekeypair", "callee": "EncodeToMemory", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L108"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_encodekeypair", "callee": "MarshalPKIXPublicKey", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L110"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_encodekeypair", "callee": "string", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L114"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_encodekeypair", "callee": "EncodeToMemory", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L114"}, {"caller_nid": "dkim_manager_getactivedkimkey", "callee": "GetDomainByName", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L120"}, {"caller_nid": "dkim_manager_getactivedkimkey", "callee": "GetActiveDKIMKeyByDomainID", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L124"}, {"caller_nid": "dkim_manager_getdkimpublickeyrecord", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L143"}, {"caller_nid": "dkim_manager_getdkimpublickeyrecord", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L145"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_rawbase64frompem", "callee": "Decode", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L150"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_rawbase64frompem", "callee": "EncodeToString", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L154"}, {"caller_nid": "dkim_manager_sign", "callee": "Decode", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L165"}, {"caller_nid": "dkim_manager_sign", "callee": "ParsePKCS8PrivateKey", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L169"}, {"caller_nid": "dkim_manager_sign", "callee": "Sign", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L181"}, {"caller_nid": "dkim_manager_sign", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L181"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "callee": "Split", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L199"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L203"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L204"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_stripexistingsignature", "callee": "Join", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L216"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_verifyinbound", "callee": "Verify", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L224"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_verifyinbound", "callee": "NewReader", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L224"}, {"caller_nid": "$graphify-root$_internal_dkim_dkim_verifyinbound", "callee": "EqualFold", "is_member_call": false, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L229"}, {"caller_nid": "dkim_manager_getactivecustomheaders", "callee": "GetDomainByName", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L238"}, {"caller_nid": "dkim_manager_getactivecustomheaders", "callee": "Query", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L242"}, {"caller_nid": "dkim_manager_getactivecustomheaders", "callee": "Close", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L246"}, {"caller_nid": "dkim_manager_getactivecustomheaders", "callee": "Next", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L248"}, {"caller_nid": "dkim_manager_getactivecustomheaders", "callee": "Scan", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L250"}, {"caller_nid": "dkim_manager_getactivecustomheaders", "callee": "Err", "is_member_call": true, "language": "go", "source_file": "internal/dkim/dkim.go", "source_location": "L255"}]}