Documentation ¶
Index ¶
- func COPYCHAN[T any](done <-chan struct{}, src chan T) (generator func() (tap chan T, destructor func()))
- func CreateWsHandleFunc(ctx context.Context, subsystem WsSubsystem) func(conn *websocket.Conn)
- func ListenAndServe(ctx context.Context) error
- func Mux(ctx context.Context) http.Handler
- func RederWidgets(w http.ResponseWriter, r *http.Request)
- type LoggingHandler
- type WsSubsystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func COPYCHAN ¶ added in v1.0.2
func COPYCHAN[T any](done <-chan struct{}, src chan T) ( generator func() (tap chan T, destructor func()), )
func CreateWsHandleFunc ¶ added in v1.0.1
func CreateWsHandleFunc(ctx context.Context, subsystem WsSubsystem) func(conn *websocket.Conn)
func ListenAndServe ¶
func RederWidgets ¶ added in v1.0.2
func RederWidgets(w http.ResponseWriter, r *http.Request)
Types ¶
type LoggingHandler ¶
func (*LoggingHandler) ServeHTTP ¶
func (h *LoggingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.