54 lines
9.5 KiB
Plaintext
54 lines
9.5 KiB
Plaintext
|
<mxfile host="65bd71144e">
|
||
|
<diagram id="C3SzVdnRVYTlk7Q9AATH" name="第 1 页">
|
||
|
<mxGraphModel dx="893" dy="479" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||
|
<root>
|
||
|
<mxCell id="0"/>
|
||
|
<mxCell id="1" parent="0"/>
|
||
|
<mxCell id="8" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="40" y="140" width="710" height="350" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="15" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="2" target="4">
|
||
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="2" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">TokenApiHandler</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="290" y="200" width="120" height="60" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="13" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="4">
|
||
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="14" value="middle: 用户鉴权" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="13">
|
||
|
<mxGeometry x="-0.12" y="3" relative="1" as="geometry">
|
||
|
<mxPoint as="offset"/>
|
||
|
</mxGeometry>
|
||
|
</mxCell>
|
||
|
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="3" target="5">
|
||
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="3" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">BlogApiHandler</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="550" y="200" width="120" height="60" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="12" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="7">
|
||
|
<mxGeometry relative="1" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="4" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">TokenServiceImpl</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="290" y="360" width="120" height="60" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="5" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><div style="line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">BlogServiceImpl</span></div></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="550" y="360" width="120" height="60" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="7" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-align: left; text-decoration-line: underline;">UserServiceImpl</span><br></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="80" y="300" width="120" height="60" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="9" value="main" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||
|
<mxGeometry x="350" y="100" width="60" height="30" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="17" value="<meta charset="utf-8"><div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #f8f8f2;"> blogApi </span><span style="color: #e6db74;">"gitlab.com/go-course-project/go17/vblog/apps/blog/api"</span></div><div><span style="color: #f8f8f2;"> blogImpl </span><span style="color: #e6db74;">"gitlab.com/go-course-project/go17/vblog/apps/blog/impl"</span></div><div><span style="color: #f8f8f2;"> tokenApi </span><span style="color: #e6db74;">"gitlab.com/go-course-project/go17/vblog/apps/token/api"</span></div><div><span style="color: #f8f8f2;"> tokenImpl </span><span style="color: #e6db74;">"gitlab.com/go-course-project/go17/vblog/apps/token/impl"</span></div><div><span style="color: #f8f8f2;"> userImpl </span><span style="color: #e6db74;">"gitlab.com/go-course-project/go17/vblog/apps/user/impl"</span></div></div>" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="160" y="540" width="500" height="110" as="geometry"/>
|
||
|
</mxCell>
|
||
|
<mxCell id="18" value="<meta charset="utf-8"><div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #f8f8f2;"> </span><span style="color: #88846f;">// 注册业务模块的路有</span></div><div><span style="color: #f8f8f2;"> tokenApi.</span><span style="color: #a6e22e;">NewTokenApiHandler</span><span style="color: #f8f8f2;">(tokenImpl.</span><span style="color: #a6e22e;">NewTokenService</span><span style="color: #f8f8f2;">(</span><span style="color: #f92672;">&amp;</span><span style="color: #a6e22e;text-decoration: underline;">userImpl</span><span style="color: #f8f8f2;">.</span><span style="color: #a6e22e;text-decoration: underline;">UserServiceImpl</span><span style="color: #f8f8f2;">{})).</span><span style="color: #a6e22e;">Registry</span><span style="color: #f8f8f2;">(server)</span></div><div><span style="color: #f8f8f2;"> blogApi.</span><span style="color: #a6e22e;">NewBlogApiHandler</span><span style="color: #f8f8f2;">(</span><span style="color: #f92672;">&amp;</span><span style="color: #a6e22e;text-decoration: underline;">blogImpl</span><span style="color: #f8f8f2;">.</span><span style="color: #a6e22e;text-decoration: underline;">BlogServiceImpl</span><span style="color: #f8f8f2;">{}).</span><span style="color: #a6e22e;">Registry</span><span style="color: #f8f8f2;">(server)</span></div></div>" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||
|
<mxGeometry x="80" y="690" width="560" height="80" as="geometry"/>
|
||
|
</mxCell>
|
||
|
</root>
|
||
|
</mxGraphModel>
|
||
|
</diagram>
|
||
|
</mxfile>
|