Documentation
¶
Overview ¶
Package cabletest é um servidor ActionCable falso para os testes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Messages map[string][]map[string]any
Reject map[string]bool
DropAfterFirstSubscribe bool
// contains filtered or unexported fields
}
Handler aceita a conexão, manda o welcome e, a cada subscribe, confirma e empurra as mensagens configuradas para aquele canal.
func (*Handler) Subscribed ¶
Click to show internal directories.
Click to hide internal directories.