transports

package
v0.0.0-...-8c2001a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnWS

type ConnWS struct {
	// contains filtered or unexported fields
}

func NewConnWS

func NewConnWS(c *gin.Context, id int64) (*ConnWS, error)

func (*ConnWS) Close

func (c *ConnWS) Close() error

func (*ConnWS) Id

func (c *ConnWS) Id() int64

func (*ConnWS) Read

func (c *ConnWS) Read() ([]byte, error)

func (*ConnWS) Write

func (c *ConnWS) Write(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL