Golang在WebSocket上呈现的React性HTML服务器端-Golang开发

时间:2021-05-26 17:46:56
【文件属性】:
文件名称:Golang在WebSocket上呈现的React性HTML服务器端-Golang开发
文件大小:1.27MB
文件格式:ZIP
更新时间:2021-05-26 17:46:56
Golang Networking Golang在WebSockets GoLive上呈现的Reactive HTML Server Side绝对欢迎任何建议该项目受到Elixir Phoenix LiveView的强烈启发。 WIP组件入门示例程序包组件导入(“ github.com/brendonferreira/golive”“ time”)类型Clock结构{golive.LiveComponentWrapper ActualTime字符串} func NewClock()* golive.LiveComponent {return golive.NewLiveComponent(“ Clock”, &Clock {ActualTime:“ 91230192301390193”,})} func(t * Clock)Mounted(_ * golive.LiveComponent){go func(){
【文件预览】:
golive-master
----.gitignore(37B)
----go.mod(281B)
----html.go(6KB)
----renderer_test.go(15B)
----component_test.go(3KB)
----session.go(4KB)
----wire.go(495B)
----page.go(4KB)
----server.go(6KB)
----CONTRIBUTING.md(1KB)
----LICENSE(1KB)
----patch.go(951B)
----component_lifetime.go(502B)
----renderer.go(2KB)
----html_page.go(6KB)
----go.sum(6KB)
----.github()
--------workflows()
----examples()
--------components()
--------clock()
--------gobook.gif(605KB)
--------form()
--------list()
--------slider()
--------all_at_once()
--------todo()
----diff.go(5KB)
----README.md(2KB)
----html_test.go(2KB)
----component.go(11KB)
----diff_test.go(8KB)
----ci()
--------go.mod(100B)
--------main.js(11KB)
--------create_html_page.go(769B)
--------go.sum(1KB)
--------base.html(261B)
----logger.go(2KB)
----random.go(687B)
----component_wrapper.go(1023B)
----dom_selector.go(1KB)

网友评论