Documentation
¶
Index ¶
- Variables
- func Dial[T any](url *url.URL, ctx context.Context) (readerOut <-chan T, writerOut chan<- Write[T], err error)
- func ReadWebsocket[T any](conn io.Reader, writer chan<- []byte) (out T, err error)
- func Serve[T any](r *gin.RouterGroup, path string, acceptFunc func(c *gin.Context) bool, ...)
- func WriteWebsocket[T any](writer chan<- []byte, write Write[T]) error
- type WSHandler
- type Write
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferSize = 10
View Source
var ErrNoErrorHandled = errors.New("handled")
View Source
var ErrNotImplemented = errors.New("operation not implemented")
Functions ¶
func ReadWebsocket ¶ added in v0.14.4
Types ¶
Click to show internal directories.
Click to hide internal directories.