type nhooyr.io/websocket.MessageType
15 uses
nhooyr.io/websocket (current package)
conn.go#L21: type MessageType int
conn.go#L26: MessageText MessageType = iota + 1
netconn.go#L48: func NetConn(ctx context.Context, c *Conn, msgType MessageType) net.Conn {
netconn.go#L98: msgType MessageType
read.go#L36: func (c *Conn) Reader(ctx context.Context) (MessageType, io.Reader, error) {
read.go#L42: func (c *Conn) Read(ctx context.Context) (MessageType, []byte, error) {
read.go#L329: func (c *Conn) reader(ctx context.Context) (_ MessageType, _ io.Reader, err error) {
read.go#L357: return MessageType(h.opcode), c.msgReader, nil
stringer.go#L52: func (i MessageType) String() string {
stringer.go#L54: if i < 0 || i >= MessageType(len(_MessageType_index)-1) {
write.go#L30: func (c *Conn) Writer(ctx context.Context, typ MessageType) (io.WriteCloser, error) {
write.go#L44: func (c *Conn) Write(ctx context.Context, typ MessageType, p []byte) error {
write.go#L96: func (c *Conn) writer(ctx context.Context, typ MessageType) (io.WriteCloser, error) {
write.go#L104: func (c *Conn) write(ctx context.Context, typ MessageType, p []byte) (int, error) {
write.go#L124: func (mw *msgWriter) reset(ctx context.Context, typ MessageType) 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. |