Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IReaderWithTimeout ¶
type WsToTcpServer ¶
type WsToTcpServer struct {
// Addr is the address to listen on.
Addr string
Port int
// contains filtered or unexported fields
}
func NewWsToTcpServer ¶
func NewWsToTcpServer(ctx context.Context, addr string, port int) *WsToTcpServer
func (*WsToTcpServer) Serve ¶
func (s *WsToTcpServer) Serve(staticFS embed.FS)
func (*WsToTcpServer) Shutdown ¶
func (s *WsToTcpServer) Shutdown()
Click to show internal directories.
Click to hide internal directories.