type nhooyr.io/websocket.CloseError
12 uses
nhooyr.io/websocket (current package)
close.go#L66: type CloseError struct {
close.go#L71: func (ce CloseError) Error() string {
close.go#L80: var ce CloseError
close.go#L146: ce := CloseError{
close.go#L210: func parseClosePayload(p []byte) (CloseError, error) {
close.go#L212: return CloseError{
close.go#L218: return CloseError{}, fmt.Errorf("close payload %q too small, cannot even contain the 2 byte status code", p)
close.go#L221: ce := CloseError{
close.go#L227: return CloseError{}, fmt.Errorf("invalid status code %v", ce.Code)
close.go#L251: func (ce CloseError) bytes() ([]byte, error) {
close.go#L255: ce = CloseError{
close.go#L265: func (ce CloseError) bytesErr() ([]byte, error) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |