Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Examples of using github.com/gobwas/ws

License

NotificationsYou must be signed in to change notification settings

gobwas/ws-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ws examples

website

Example applications written in Go withgithub.com/gobwas/ws inside.

Applications

  • Chat
  • Chat CLI
  • Twitter hashtag watcher

Notes

Commands

Currently these commands are developed:

  • bin/chat the chat application, which is listening raw tcp socket andhandles [jsonrpc]-like messages.
  • bin/proxy proxy that used for two purposes. First of all, to serve staticfiles for chat ui. Second and technical one is to proxy/ws requests torunning chat app. This is done only for running on heroku, where only one portis able to be exported.

Building

All commands can be built bymake * or by justmake.

The directory structure is convinient forgbvendoring tool. But instead of usinggb git submodules are used to vendordependencies. Thus,make vendor will update existing submodules.

Also,gb directory structure is here to signal the heroku buildpack to useappropriate build logic.

Chat application deployedhere.

About

Examples of using github.com/gobwas/ws

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp