Chatroom 2 (#10)
* Remove unused method. Don't panic if unknown room. * Need a Connected() check for rooms publishing - don't do the work of rendering for a dead connection * Make vars private. * Linter issues * Remove Connected() * Mutation observer. Publish 4x / second. --------- Co-authored-by: João Gonçalves <joao.goncalves01@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ const (
|
||||
// Plugin is a func that can mutate the given *via.V app runtime. It is useful to integrate popular JS/CSS UI libraries or tools.
|
||||
type Plugin func(v *V)
|
||||
|
||||
// Config defines configuration options for the via application.
|
||||
// Options defines configuration options for the via application
|
||||
type Options struct {
|
||||
// The development mode flag. If true, enables server and browser auto-reload on `.go` file changes.
|
||||
DevMode bool
|
||||
|
||||
Reference in New Issue
Block a user