* wip * merge * working again * refactor/make it a bit cleaner * fix to only call cb for session id who initiated the event * support broadcasting events to all clients * refactor * refactor into ws extension * add go mod * rename module * fix naming * refactor * rename * merge * fix manager ws delete, add manager tests * add metric page * fixes, add k6 script * fixes, add k6 script * deploy docker image * cleanup * cleanup * cleanup
9 lines
202 B
Go
9 lines
202 B
Go
package opts
|
|
|
|
import "github.com/maddalax/htmgo/framework/h"
|
|
|
|
type ExtensionOpts struct {
|
|
WsPath string
|
|
RoomName func(ctx *h.RequestContext) string
|
|
SessionId func(ctx *h.RequestContext) string
|
|
}
|