Documentation
¶
Index ¶
- Variables
- func Dial[T any](url *url.URL, ctx context.Context) (readerOut <-chan T, writerOut chan<- Write[T], err error)
- func Serve[T any](acceptFunc func(r *http.Request) bool, wsfunc WSHandler[T]) http.HandlerFunc
- func ServeFiber[T any](r fiber.Router, path string, acceptFunc func(c *fiber.Ctx) error, ...)
- type WSHandler
- type Write
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = errors.New("operation not implemented") ErrNoErrorHandled = errors.New("handled") )
View Source
var BufferSize = 100
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.