-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb 2.json
More file actions
1 lines (1 loc) · 33.7 KB
/
Copy pathdb 2.json
File metadata and controls
1 lines (1 loc) · 33.7 KB
1
{"meta":{"version":1,"warehouse":"4.0.2"},"models":{"Asset":[{"_id":"source/CNAME.txt","path":"CNAME.txt","modified":1,"renderable":0},{"_id":"themes/cupertino/source/css/archive.css","path":"css/archive.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/categories.css","path":"css/categories.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/code-highlighting.css","path":"css/code-highlighting.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/giscus.css","path":"css/giscus.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/index.css","path":"css/index.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/main.css","path":"css/main.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/nav.css","path":"css/nav.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/components.css","path":"css/components.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/footer.css","path":"css/footer.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/paginator.css","path":"css/paginator.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/post-list.css","path":"css/post-list.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/rainbow-banner.css","path":"css/rainbow-banner.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/search.css","path":"css/search.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/post.css","path":"css/post.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/tags.css","path":"css/tags.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/toc.css","path":"css/toc.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/typography.css","path":"css/typography.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/css/var.css","path":"css/var.css","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/discord-mark-light.svg","path":"theme-img/discord-mark-light.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/github-mark-dark.png","path":"theme-img/github-mark-dark.png","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/mastodon-logo-black.svg","path":"theme-img/mastodon-logo-black.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/mastodon-logo-white.svg","path":"theme-img/mastodon-logo-white.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/discord-mark-dark.svg","path":"theme-img/discord-mark-dark.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/patreon-logo-black.png","path":"theme-img/patreon-logo-black.png","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/patreon-logo-white.png","path":"theme-img/patreon-logo-white.png","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/search-light.svg","path":"theme-img/search-light.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/tags-dark.svg","path":"theme-img/tags-dark.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/tags-light.svg","path":"theme-img/tags-light.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/github-mark-light.png","path":"theme-img/github-mark-light.png","modified":1,"renderable":1},{"_id":"themes/cupertino/source/theme-img/search-dark.svg","path":"theme-img/search-dark.svg","modified":1,"renderable":1},{"_id":"themes/cupertino/source/js/main.js","path":"js/main.js","modified":1,"renderable":1},{"_id":"themes/cupertino/source/js/search.js","path":"js/search.js","modified":1,"renderable":1}],"Cache":[{"_id":"source/_posts/hello-world.md","hash":"7d98d6592de80fdcd2949bd7401cec12afd98cdf","modified":1675764334712},{"_id":"source/CNAME.txt","hash":"29a4e73bef12cfdf14062080212d32473e265b8a","modified":1675764334711},{"_id":"source/_posts/coredns插件原理与corefile原理.md","hash":"cf2a0beeea22b0e0497082086d12b70b9fae3449","modified":1678108040796},{"_id":"source/about/index.md","hash":"41bf0e22b9e72b8fdb9979b317e98f57eced5315","modified":1675764334712},{"_id":"source/categories/index.md","hash":"9ba416790ff64093a2fe55c9a696f5221bd4c74e","modified":1675764334712},{"_id":"source/tags/index.md","hash":"54dcfe6ed2dd20907a3367bc3ce4a27941fb1c8d","modified":1675764334712},{"_id":"source/_posts/coredns插件原理与corefile原理/plugin.png","hash":"bc1a6e6e4472089d150133d6e90c09b645dd941a","modified":1678106710278},{"_id":"themes/cupertino/.gitignore","hash":"4175f842062537171ef551d5b38237d1116db202","modified":1678108389794},{"_id":"themes/cupertino/LICENSE","hash":"4272e3f540966f57f6ec6680111dd336139e1444","modified":1678108389794},{"_id":"themes/cupertino/_config.yml","hash":"c69b595940be6f7f88860f96b07c56c9b77deff9","modified":1678108389795},{"_id":"themes/cupertino/languages/zh-cn.yml","hash":"b0cffd311963016466ac999737a53697a93e9945","modified":1678108389797},{"_id":"themes/cupertino/languages/default.yml","hash":"12e652e422766adc838ef726b73890da41af2752","modified":1678108389797},{"_id":"themes/cupertino/README.md","hash":"714ca9402d01c23700cfa5e0d3a7fc89edbf1401","modified":1678108389795},{"_id":"themes/cupertino/layout/archive.ejs","hash":"975494de8a3532c1c1404c1f6e84426530f2f9e5","modified":1678108389798},{"_id":"themes/cupertino/layout/layout.ejs","hash":"efd1fe7ac42f6d67ec1d22cc3094bce2b0d555e4","modified":1678108389798},{"_id":"themes/cupertino/layout/index.ejs","hash":"36ab8e4cd394adc4530ad16d9711687e181c8603","modified":1678108389798},{"_id":"themes/cupertino/layout/post.ejs","hash":"b7498207037d62a320172f2d83bbd949483e4f01","modified":1678108389798},{"_id":"themes/cupertino/docs/configuration.md","hash":"bf0e2372849b219ccd50f10541c07a3815b0852d","modified":1678108389795},{"_id":"themes/cupertino/docs/README.md","hash":"0ff83266624c5483b3c1841efd5805ab53ea66fc","modified":1678108389795},{"_id":"themes/cupertino/layout/_partial/categories.ejs","hash":"e96746ec2cdd423b5cff0e546bb6d3561c5ff0aa","modified":1678108389797},{"_id":"themes/cupertino/layout/_partial/footer.ejs","hash":"e80ff304eaa15367b080c46342dbec27c4d0069f","modified":1678108389797},{"_id":"themes/cupertino/layout/_partial/nav.ejs","hash":"1bfd4eab05ef04ccd90773551c16b61aa3994e28","modified":1678108389798},{"_id":"themes/cupertino/layout/_partial/search.ejs","hash":"d7f6a3b496caeaa9f49d5d9f23493750d4039910","modified":1678108389798},{"_id":"themes/cupertino/layout/_partial/paginator.ejs","hash":"c3adac66b9edc114e0287866da1117d92c614bb6","modified":1678108389798},{"_id":"themes/cupertino/layout/_partial/tags.ejs","hash":"6db9eed3ba9f5976edfdc145827bfd08018b69a9","modified":1678108389798},{"_id":"themes/cupertino/docs/features/latex.md","hash":"11afd372b644b684476083c4bc14c12e351796b7","modified":1678108389795},{"_id":"themes/cupertino/docs/features/search.md","hash":"b379258e2c5159d837f7c562a44664ec2a8e2f39","modified":1678108389796},{"_id":"themes/cupertino/docs/features/rainbow-banner.md","hash":"8ac10ad6c4f1554aca34e10bbf1a6767a6551965","modified":1678108389795},{"_id":"themes/cupertino/docs/features/tags-and-categories.md","hash":"31e8ec6f6d34ec6f40a48bdfee5e7b486f0f6205","modified":1678108389796},{"_id":"themes/cupertino/source/css/categories.css","hash":"138affb94d38b90f15c1ca9942262b2d564ea206","modified":1678108389799},{"_id":"themes/cupertino/source/css/archive.css","hash":"92c93dc44e2c7885d3f2ceeaed878ffb0036af9e","modified":1678108389799},{"_id":"themes/cupertino/source/css/code-highlighting.css","hash":"855d95a2b2f4781c15a0cfbab961c5b9a8b7df4f","modified":1678108389799},{"_id":"themes/cupertino/layout/_partial/head.ejs","hash":"789df74ba20f858f7c76c4843748d2ec7e929ee0","modified":1678108389798},{"_id":"themes/cupertino/source/css/giscus.css","hash":"044ad9bf9a068e5990396132ef645b6bfb3f447c","modified":1678108389799},{"_id":"themes/cupertino/source/css/index.css","hash":"32abeed4f26ce851a5440fd3fcc8254465e18b1d","modified":1678108389799},{"_id":"themes/cupertino/source/css/nav.css","hash":"2ac880fe8496e06abf34d0674bb572e2c1f3bb05","modified":1678108389800},{"_id":"themes/cupertino/source/css/main.css","hash":"51ce8cde056c0e7c0870a102f1a297562aedbef4","modified":1678108389800},{"_id":"themes/cupertino/source/css/post-list.css","hash":"ce5c290716447f46a40534e91c6a63213005b5a5","modified":1678108389800},{"_id":"themes/cupertino/source/css/paginator.css","hash":"d8b805b003e6358ec591f1d40a230611ac95ccb3","modified":1678108389800},{"_id":"themes/cupertino/source/css/rainbow-banner.css","hash":"c53c313f9c443b36d95175ef863169351516b436","modified":1678108389800},{"_id":"themes/cupertino/source/css/components.css","hash":"04c5144db27324b9abb018ee1525efb056e88409","modified":1678108389799},{"_id":"themes/cupertino/source/css/post.css","hash":"93a8cac6ff5ba69fd74b7a8cde7500a76efbef13","modified":1678108389800},{"_id":"themes/cupertino/source/css/search.css","hash":"2308a2e8011a69ea2dba36fe6188928fd442d9cf","modified":1678108389800},{"_id":"themes/cupertino/source/css/tags.css","hash":"6ae2c446d40001ab514b78ea1da8ebfb9f557dad","modified":1678108389800},{"_id":"themes/cupertino/source/css/footer.css","hash":"1f1e6a95a324a2f09fb5bacd69dfba8255c119b0","modified":1678108389799},{"_id":"themes/cupertino/source/css/toc.css","hash":"90330893699a4055bd2147a2a8cf8736293ee05b","modified":1678108389800},{"_id":"themes/cupertino/source/css/var.css","hash":"29870066a9f33b6577331ff332c859daa108147e","modified":1678108389801},{"_id":"themes/cupertino/source/css/typography.css","hash":"c9ef90329f32c19f47e3ec5827b2d38755b71406","modified":1678108389800},{"_id":"themes/cupertino/docs/integrations/ackee.md","hash":"7e77142f9b5fa5335969bdcbb28e688f7936fde3","modified":1678108389796},{"_id":"themes/cupertino/docs/integrations/giscus.md","hash":"571466f6c258d7d7db7ae33e7ec645f4211c3c05","modified":1678108389796},{"_id":"themes/cupertino/source/theme-img/discord-mark-light.svg","hash":"3a002f10c7cfea08f0a84c28bd8ca497981f537e","modified":1678108389801},{"_id":"themes/cupertino/docs/integrations/tidio.md","hash":"b49c1d2c88bc12ccff31e375c36a43746f306cf4","modified":1678108389797},{"_id":"themes/cupertino/source/theme-img/github-mark-dark.png","hash":"8e4af8e0da1da6fb685e86c19afb5322d559a8ca","modified":1678108389801},{"_id":"themes/cupertino/docs/integrations/waline.md","hash":"80c2449ac32bc7f05a73cd6dba24d4eb3e0ccd97","modified":1678108389797},{"_id":"themes/cupertino/source/theme-img/mastodon-logo-black.svg","hash":"09857f854c29c894e5a46ceffbf2b104e4261a49","modified":1678108389801},{"_id":"themes/cupertino/source/theme-img/mastodon-logo-white.svg","hash":"5918a2c2f8727fc65506f905e1297b117f3ac816","modified":1678108389802},{"_id":"themes/cupertino/source/theme-img/discord-mark-dark.svg","hash":"59364eb123c8fdb347a243952d3770e70b6a2ae2","modified":1678108389801},{"_id":"themes/cupertino/source/theme-img/search-light.svg","hash":"dc192ca43a80772410870e2204e129331344fbab","modified":1678108389804},{"_id":"themes/cupertino/source/theme-img/patreon-logo-black.png","hash":"49ec544d938b13cc3ec519e157a40eaa432eee80","modified":1678108389803},{"_id":"themes/cupertino/source/theme-img/tags-dark.svg","hash":"0afb6f76f0604f3b56324cc62f72daa717c0288c","modified":1678108389804},{"_id":"themes/cupertino/source/theme-img/tags-light.svg","hash":"5e2caa93904df6c8f6c87c6ae239606a584674af","modified":1678108389804},{"_id":"themes/cupertino/source/js/main.js","hash":"de64726061d74161875848f720a98089e44a5d10","modified":1678108389801},{"_id":"themes/cupertino/source/theme-img/search-dark.svg","hash":"2bc6cd712101239dc30f5ac884c968e0adfc639d","modified":1678108389804},{"_id":"themes/cupertino/source/js/search.js","hash":"6384ed6eeebce38bff27510500a2482e1b2a7df2","modified":1678108389801},{"_id":"themes/cupertino/source/theme-img/github-mark-light.png","hash":"5740f0d2ea93806516b9c646e6e166aa5c0b44d9","modified":1678108389801},{"_id":"themes/cupertino/source/theme-img/patreon-logo-white.png","hash":"a977d6017f976d18626c832bd2a91e9dbdc9c9a8","modified":1678108389804},{"_id":"themes/cupertino/docs/features/img/rainbow-banner.png","hash":"8a33a9216e305a55c87ee67562a6cc77f8cd6e90","modified":1678108389795},{"_id":"themes/cupertino/docs/integrations/img/tidio-integration-url.png","hash":"73f1b81cc87b84df501bdb696789a32c93cc5a20","modified":1678108389796},{"_id":"public/categories/index.html","hash":"034a685359cdff023c44382fbc7d3d4163c6cfa6","modified":1678108599141},{"_id":"public/about/index.html","hash":"57fe98a30cfe87a41d8eec1ca7b84f26f8e242a7","modified":1678108599141},{"_id":"public/tags/index.html","hash":"d59caf02d2b86d3baadb8ea82ee171b5460c252e","modified":1678108599141},{"_id":"public/2023/03/06/coredns插件原理与corefile原理/index.html","hash":"0f50c9b9f576279ca706dc9d19dc653189a7802e","modified":1678108599141},{"_id":"public/2023/02/07/hello-world/index.html","hash":"b61b4f6e5544765b5db1a56da966ed015a48ccc3","modified":1678108599141},{"_id":"public/archives/index.html","hash":"217c770ace9edf8d11244926c5b83078a9b61089","modified":1678108599141},{"_id":"public/archives/2023/index.html","hash":"e583b473946014b2ed0ea4f978e6c066708bbe18","modified":1678108599141},{"_id":"public/archives/2023/02/index.html","hash":"1fd18bc29adcde81a925579a933f68875da150ff","modified":1678108599141},{"_id":"public/archives/2023/03/index.html","hash":"59fbc3efd2c3552e22fb5df8b9d4ac00f2570525","modified":1678108599141},{"_id":"public/index.html","hash":"1032b9eeb928ada5e2fc6a988fb9b681478645a1","modified":1678108599141},{"_id":"public/CNAME.txt","hash":"29a4e73bef12cfdf14062080212d32473e265b8a","modified":1678108599141},{"_id":"public/theme-img/discord-mark-light.svg","hash":"3a002f10c7cfea08f0a84c28bd8ca497981f537e","modified":1678108599141},{"_id":"public/theme-img/mastodon-logo-black.svg","hash":"09857f854c29c894e5a46ceffbf2b104e4261a49","modified":1678108599141},{"_id":"public/theme-img/github-mark-dark.png","hash":"8e4af8e0da1da6fb685e86c19afb5322d559a8ca","modified":1678108599141},{"_id":"public/theme-img/discord-mark-dark.svg","hash":"59364eb123c8fdb347a243952d3770e70b6a2ae2","modified":1678108599141},{"_id":"public/theme-img/mastodon-logo-white.svg","hash":"5918a2c2f8727fc65506f905e1297b117f3ac816","modified":1678108599141},{"_id":"public/theme-img/search-light.svg","hash":"dc192ca43a80772410870e2204e129331344fbab","modified":1678108599141},{"_id":"public/theme-img/tags-dark.svg","hash":"0afb6f76f0604f3b56324cc62f72daa717c0288c","modified":1678108599141},{"_id":"public/theme-img/github-mark-light.png","hash":"5740f0d2ea93806516b9c646e6e166aa5c0b44d9","modified":1678108599141},{"_id":"public/theme-img/patreon-logo-black.png","hash":"49ec544d938b13cc3ec519e157a40eaa432eee80","modified":1678108599141},{"_id":"public/theme-img/patreon-logo-white.png","hash":"a977d6017f976d18626c832bd2a91e9dbdc9c9a8","modified":1678108599141},{"_id":"public/theme-img/tags-light.svg","hash":"5e2caa93904df6c8f6c87c6ae239606a584674af","modified":1678108599141},{"_id":"public/theme-img/search-dark.svg","hash":"2bc6cd712101239dc30f5ac884c968e0adfc639d","modified":1678108599141},{"_id":"public/css/archive.css","hash":"92c93dc44e2c7885d3f2ceeaed878ffb0036af9e","modified":1678108599141},{"_id":"public/css/code-highlighting.css","hash":"855d95a2b2f4781c15a0cfbab961c5b9a8b7df4f","modified":1678108599141},{"_id":"public/css/index.css","hash":"32abeed4f26ce851a5440fd3fcc8254465e18b1d","modified":1678108599141},{"_id":"public/css/main.css","hash":"51ce8cde056c0e7c0870a102f1a297562aedbef4","modified":1678108599141},{"_id":"public/css/nav.css","hash":"2ac880fe8496e06abf34d0674bb572e2c1f3bb05","modified":1678108599141},{"_id":"public/css/components.css","hash":"04c5144db27324b9abb018ee1525efb056e88409","modified":1678108599141},{"_id":"public/css/categories.css","hash":"138affb94d38b90f15c1ca9942262b2d564ea206","modified":1678108599141},{"_id":"public/css/post-list.css","hash":"ce5c290716447f46a40534e91c6a63213005b5a5","modified":1678108599141},{"_id":"public/css/giscus.css","hash":"044ad9bf9a068e5990396132ef645b6bfb3f447c","modified":1678108599141},{"_id":"public/css/paginator.css","hash":"d8b805b003e6358ec591f1d40a230611ac95ccb3","modified":1678108599141},{"_id":"public/css/rainbow-banner.css","hash":"c53c313f9c443b36d95175ef863169351516b436","modified":1678108599141},{"_id":"public/css/search.css","hash":"2308a2e8011a69ea2dba36fe6188928fd442d9cf","modified":1678108599141},{"_id":"public/css/post.css","hash":"a396c44906b494ec0a4c96d774375453eac5853d","modified":1678108599141},{"_id":"public/css/tags.css","hash":"6ae2c446d40001ab514b78ea1da8ebfb9f557dad","modified":1678108599141},{"_id":"public/css/footer.css","hash":"1f1e6a95a324a2f09fb5bacd69dfba8255c119b0","modified":1678108599141},{"_id":"public/css/typography.css","hash":"c9ef90329f32c19f47e3ec5827b2d38755b71406","modified":1678108599141},{"_id":"public/css/var.css","hash":"b78b0978947d357cd67633704939707802bd4e11","modified":1678108599141},{"_id":"public/js/main.js","hash":"de64726061d74161875848f720a98089e44a5d10","modified":1678108599141},{"_id":"public/js/search.js","hash":"6384ed6eeebce38bff27510500a2482e1b2a7df2","modified":1678108599141},{"_id":"public/css/toc.css","hash":"90330893699a4055bd2147a2a8cf8736293ee05b","modified":1678108599141}],"Category":[],"Data":[],"Page":[{"type":"categories","_content":"","source":"categories/index.md","raw":"---\ntype: categories\n---","date":"2023-02-08T08:06:58.247Z","updated":"2023-02-07T10:05:34.712Z","path":"categories/index.html","title":"","comments":1,"layout":"page","_id":"clewuj64q0000q6na1nq1bmf1","content":"","site":{"data":{}},"excerpt":"","more":""},{"title":"about","layout":"about","comment":"valine","_content":"\n本科学了点security,研究生搞了点炼丹,实习做了点后端。\n\n爱好很广,switch,FM,日漫,科幻小说,笛子。当然最主要的还是喜欢睡觉。\n\n没事儿的时候写点东西,希望大家一起精进技术。","source":"about/index.md","raw":"---\ntitle: about\nlayout: about\ncomment: 'valine'\n---\n\n本科学了点security,研究生搞了点炼丹,实习做了点后端。\n\n爱好很广,switch,FM,日漫,科幻小说,笛子。当然最主要的还是喜欢睡觉。\n\n没事儿的时候写点东西,希望大家一起精进技术。","date":"2023-02-08T08:06:58.191Z","updated":"2023-02-07T10:05:34.712Z","path":"about/index.html","comments":1,"_id":"clewuj64t0002q6nagqin0b1t","content":"<p>本科学了点security,研究生搞了点炼丹,实习做了点后端。</p>\n<p>爱好很广,switch,FM,日漫,科幻小说,笛子。当然最主要的还是喜欢睡觉。</p>\n<p>没事儿的时候写点东西,希望大家一起精进技术。</p>\n","site":{"data":{}},"excerpt":"","more":"<p>本科学了点security,研究生搞了点炼丹,实习做了点后端。</p>\n<p>爱好很广,switch,FM,日漫,科幻小说,笛子。当然最主要的还是喜欢睡觉。</p>\n<p>没事儿的时候写点东西,希望大家一起精进技术。</p>\n"},{"type":"tags","_content":"","source":"tags/index.md","raw":"---\ntype: tags\n---","date":"2023-02-08T08:06:58.215Z","updated":"2023-02-07T10:05:34.712Z","path":"tags/index.html","title":"","comments":1,"layout":"page","_id":"clewuj64u0004q6nafl4h99ma","content":"","site":{"data":{}},"excerpt":"","more":""}],"Post":[{"title":"Hello World","_content":"Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).\n\n## Quick Start\n\n### Create a new post\n\n``` bash\n$ hexo new \"My New Post\"\n```\n\nMore info: [Writing](https://hexo.io/docs/writing.html)\n\n### Run server\n\n``` bash\n$ hexo server\n```\n\nMore info: [Server](https://hexo.io/docs/server.html)\n\n### Generate static files\n\n``` bash\n$ hexo generate\n```\n\nMore info: [Generating](https://hexo.io/docs/generating.html)\n\n### Deploy to remote sites\n\n``` bash\n$ hexo deploy\n```\n\nMore info: [Deployment](https://hexo.io/docs/one-command-deployment.html)\n","source":"_posts/hello-world.md","raw":"---\ntitle: Hello World\n---\nWelcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).\n\n## Quick Start\n\n### Create a new post\n\n``` bash\n$ hexo new \"My New Post\"\n```\n\nMore info: [Writing](https://hexo.io/docs/writing.html)\n\n### Run server\n\n``` bash\n$ hexo server\n```\n\nMore info: [Server](https://hexo.io/docs/server.html)\n\n### Generate static files\n\n``` bash\n$ hexo generate\n```\n\nMore info: [Generating](https://hexo.io/docs/generating.html)\n\n### Deploy to remote sites\n\n``` bash\n$ hexo deploy\n```\n\nMore info: [Deployment](https://hexo.io/docs/one-command-deployment.html)\n","slug":"hello-world","published":1,"date":"2023-02-07T10:05:34.712Z","updated":"2023-02-07T10:05:34.712Z","comments":1,"layout":"post","photos":[],"link":"","_id":"clewuj64r0001q6na2qhc1vh4","content":"<p>Welcome to <a href=\"https://hexo.io/\">Hexo</a>! This is your very first post. Check <a href=\"https://hexo.io/docs/\">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href=\"https://hexo.io/docs/troubleshooting.html\">troubleshooting</a> or you can ask me on <a href=\"https://github.com/hexojs/hexo/issues\">GitHub</a>.</p>\n<h2 id=\"Quick-Start\"><a href=\"#Quick-Start\" class=\"headerlink\" title=\"Quick Start\"></a>Quick Start</h2><h3 id=\"Create-a-new-post\"><a href=\"#Create-a-new-post\" class=\"headerlink\" title=\"Create a new post\"></a>Create a new post</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo new <span class=\"string\">"My New Post"</span></span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/writing.html\">Writing</a></p>\n<h3 id=\"Run-server\"><a href=\"#Run-server\" class=\"headerlink\" title=\"Run server\"></a>Run server</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo server</span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/server.html\">Server</a></p>\n<h3 id=\"Generate-static-files\"><a href=\"#Generate-static-files\" class=\"headerlink\" title=\"Generate static files\"></a>Generate static files</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo generate</span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/generating.html\">Generating</a></p>\n<h3 id=\"Deploy-to-remote-sites\"><a href=\"#Deploy-to-remote-sites\" class=\"headerlink\" title=\"Deploy to remote sites\"></a>Deploy to remote sites</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo deploy</span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/one-command-deployment.html\">Deployment</a></p>\n","site":{"data":{}},"excerpt":"","more":"<p>Welcome to <a href=\"https://hexo.io/\">Hexo</a>! This is your very first post. Check <a href=\"https://hexo.io/docs/\">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href=\"https://hexo.io/docs/troubleshooting.html\">troubleshooting</a> or you can ask me on <a href=\"https://github.com/hexojs/hexo/issues\">GitHub</a>.</p>\n<h2 id=\"Quick-Start\"><a href=\"#Quick-Start\" class=\"headerlink\" title=\"Quick Start\"></a>Quick Start</h2><h3 id=\"Create-a-new-post\"><a href=\"#Create-a-new-post\" class=\"headerlink\" title=\"Create a new post\"></a>Create a new post</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo new <span class=\"string\">"My New Post"</span></span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/writing.html\">Writing</a></p>\n<h3 id=\"Run-server\"><a href=\"#Run-server\" class=\"headerlink\" title=\"Run server\"></a>Run server</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo server</span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/server.html\">Server</a></p>\n<h3 id=\"Generate-static-files\"><a href=\"#Generate-static-files\" class=\"headerlink\" title=\"Generate static files\"></a>Generate static files</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo generate</span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/generating.html\">Generating</a></p>\n<h3 id=\"Deploy-to-remote-sites\"><a href=\"#Deploy-to-remote-sites\" class=\"headerlink\" title=\"Deploy to remote sites\"></a>Deploy to remote sites</h3><figure class=\"highlight bash\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br></pre></td><td class=\"code\"><pre><span class=\"line\">$ hexo deploy</span><br></pre></td></tr></table></figure>\n\n<p>More info: <a href=\"https://hexo.io/docs/one-command-deployment.html\">Deployment</a></p>\n"},{"title":"coredns插件原理与corefile原理","date":"2023-03-06T12:43:23.000Z","_content":"# 什么是coredns?\ncoredns是谷歌开发并开源的一款dns解析服务器。其使用golang开发,提供了插件跨平台等特性。\n# coredns插件\n## 注册插件\ncoredns框架会在初始化时对插件进行注册,注册过后的插件可以被配置和调用。这里用 log 插件举例说明, 在 init() 内注册 log 的 setup 装载方法, 然后使用 AddPlugin 注册一个 plugin.Plugin 方法. 其目的就是要实现中间件那种调用链。其调用遵循一个调用链的倒叙。 \n代码位置: `plugin/log/setup.go` \n``` go\n// 注册 log 插件, 把 log 的 setup 装载方法注册进去.\nfunc init() { plugin.Register(\"log\", setup) }\n\nfunc setup(c *caddy.Controller) error {\n // Logger 实现了 plugin.Handler 接口了, 注册一个 plugin.Plugin 方法.\n dnsserver.GetConfig(c).AddPlugin(func(next plugin.Handler) plugin.Handler {\n return Logger{Next: next, Rules: rules, repl: replacer.New()}\n })\n\n return nil\n}\n```\n## 调用插件\ncoredns在注册server时会\n","source":"_posts/coredns插件原理与corefile原理.md","raw":"---\ntitle: coredns插件原理与corefile原理\ndate: 2023-03-06 20:43:23\ntags:\n---\n# 什么是coredns?\ncoredns是谷歌开发并开源的一款dns解析服务器。其使用golang开发,提供了插件跨平台等特性。\n# coredns插件\n## 注册插件\ncoredns框架会在初始化时对插件进行注册,注册过后的插件可以被配置和调用。这里用 log 插件举例说明, 在 init() 内注册 log 的 setup 装载方法, 然后使用 AddPlugin 注册一个 plugin.Plugin 方法. 其目的就是要实现中间件那种调用链。其调用遵循一个调用链的倒叙。 \n代码位置: `plugin/log/setup.go` \n``` go\n// 注册 log 插件, 把 log 的 setup 装载方法注册进去.\nfunc init() { plugin.Register(\"log\", setup) }\n\nfunc setup(c *caddy.Controller) error {\n // Logger 实现了 plugin.Handler 接口了, 注册一个 plugin.Plugin 方法.\n dnsserver.GetConfig(c).AddPlugin(func(next plugin.Handler) plugin.Handler {\n return Logger{Next: next, Rules: rules, repl: replacer.New()}\n })\n\n return nil\n}\n```\n## 调用插件\ncoredns在注册server时会\n","slug":"coredns插件原理与corefile原理","published":1,"updated":"2023-03-06T13:07:20.796Z","comments":1,"layout":"post","photos":[],"link":"","_id":"clewuj64t0003q6nafhji5b1u","content":"<h1 id=\"什么是coredns?\"><a href=\"#什么是coredns?\" class=\"headerlink\" title=\"什么是coredns?\"></a>什么是coredns?</h1><p>coredns是谷歌开发并开源的一款dns解析服务器。其使用golang开发,提供了插件跨平台等特性。</p>\n<h1 id=\"coredns插件\"><a href=\"#coredns插件\" class=\"headerlink\" title=\"coredns插件\"></a>coredns插件</h1><h2 id=\"注册插件\"><a href=\"#注册插件\" class=\"headerlink\" title=\"注册插件\"></a>注册插件</h2><p>coredns框架会在初始化时对插件进行注册,注册过后的插件可以被配置和调用。这里用 log 插件举例说明, 在 init() 内注册 log 的 setup 装载方法, 然后使用 AddPlugin 注册一个 plugin.Plugin 方法. 其目的就是要实现中间件那种调用链。其调用遵循一个调用链的倒叙。<br>代码位置: <code>plugin/log/setup.go</code> </p>\n<figure class=\"highlight go\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br><span class=\"line\">2</span><br><span class=\"line\">3</span><br><span class=\"line\">4</span><br><span class=\"line\">5</span><br><span class=\"line\">6</span><br><span class=\"line\">7</span><br><span class=\"line\">8</span><br><span class=\"line\">9</span><br><span class=\"line\">10</span><br><span class=\"line\">11</span><br></pre></td><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\">// 注册 log 插件, 把 log 的 setup 装载方法注册进去.</span></span><br><span class=\"line\"><span class=\"function\"><span class=\"keyword\">func</span> <span class=\"title\">init</span><span class=\"params\">()</span></span> { plugin.Register(<span class=\"string\">"log"</span>, setup) }</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"function\"><span class=\"keyword\">func</span> <span class=\"title\">setup</span><span class=\"params\">(c *caddy.Controller)</span></span> <span class=\"type\">error</span> {</span><br><span class=\"line\"> <span class=\"comment\">// Logger 实现了 plugin.Handler 接口了, 注册一个 plugin.Plugin 方法.</span></span><br><span class=\"line\"> dnsserver.GetConfig(c).AddPlugin(<span class=\"function\"><span class=\"keyword\">func</span><span class=\"params\">(next plugin.Handler)</span></span> plugin.Handler {</span><br><span class=\"line\"> <span class=\"keyword\">return</span> Logger{Next: next, Rules: rules, repl: replacer.New()}</span><br><span class=\"line\"> })</span><br><span class=\"line\"></span><br><span class=\"line\"> <span class=\"keyword\">return</span> <span class=\"literal\">nil</span></span><br><span class=\"line\">}</span><br></pre></td></tr></table></figure>\n<h2 id=\"调用插件\"><a href=\"#调用插件\" class=\"headerlink\" title=\"调用插件\"></a>调用插件</h2><p>coredns在注册server时会</p>\n","site":{"data":{}},"excerpt":"","more":"<h1 id=\"什么是coredns?\"><a href=\"#什么是coredns?\" class=\"headerlink\" title=\"什么是coredns?\"></a>什么是coredns?</h1><p>coredns是谷歌开发并开源的一款dns解析服务器。其使用golang开发,提供了插件跨平台等特性。</p>\n<h1 id=\"coredns插件\"><a href=\"#coredns插件\" class=\"headerlink\" title=\"coredns插件\"></a>coredns插件</h1><h2 id=\"注册插件\"><a href=\"#注册插件\" class=\"headerlink\" title=\"注册插件\"></a>注册插件</h2><p>coredns框架会在初始化时对插件进行注册,注册过后的插件可以被配置和调用。这里用 log 插件举例说明, 在 init() 内注册 log 的 setup 装载方法, 然后使用 AddPlugin 注册一个 plugin.Plugin 方法. 其目的就是要实现中间件那种调用链。其调用遵循一个调用链的倒叙。<br>代码位置: <code>plugin/log/setup.go</code> </p>\n<figure class=\"highlight go\"><table><tr><td class=\"gutter\"><pre><span class=\"line\">1</span><br><span class=\"line\">2</span><br><span class=\"line\">3</span><br><span class=\"line\">4</span><br><span class=\"line\">5</span><br><span class=\"line\">6</span><br><span class=\"line\">7</span><br><span class=\"line\">8</span><br><span class=\"line\">9</span><br><span class=\"line\">10</span><br><span class=\"line\">11</span><br></pre></td><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\">// 注册 log 插件, 把 log 的 setup 装载方法注册进去.</span></span><br><span class=\"line\"><span class=\"function\"><span class=\"keyword\">func</span> <span class=\"title\">init</span><span class=\"params\">()</span></span> { plugin.Register(<span class=\"string\">"log"</span>, setup) }</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"function\"><span class=\"keyword\">func</span> <span class=\"title\">setup</span><span class=\"params\">(c *caddy.Controller)</span></span> <span class=\"type\">error</span> {</span><br><span class=\"line\"> <span class=\"comment\">// Logger 实现了 plugin.Handler 接口了, 注册一个 plugin.Plugin 方法.</span></span><br><span class=\"line\"> dnsserver.GetConfig(c).AddPlugin(<span class=\"function\"><span class=\"keyword\">func</span><span class=\"params\">(next plugin.Handler)</span></span> plugin.Handler {</span><br><span class=\"line\"> <span class=\"keyword\">return</span> Logger{Next: next, Rules: rules, repl: replacer.New()}</span><br><span class=\"line\"> })</span><br><span class=\"line\"></span><br><span class=\"line\"> <span class=\"keyword\">return</span> <span class=\"literal\">nil</span></span><br><span class=\"line\">}</span><br></pre></td></tr></table></figure>\n<h2 id=\"调用插件\"><a href=\"#调用插件\" class=\"headerlink\" title=\"调用插件\"></a>调用插件</h2><p>coredns在注册server时会</p>\n"}],"PostAsset":[],"PostCategory":[],"PostTag":[],"Tag":[]}}