serversocket

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package implements an internal mechanism to communicate with an impress terminal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerSocket

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

func New

func New() *ServerSocket

func (*ServerSocket) Close

func (s *ServerSocket) Close() error

func (*ServerSocket) Handler

func (s *ServerSocket) Handler() websocket.Handler

func (*ServerSocket) Read

func (s *ServerSocket) Read(data []byte) (int, error)

func (*ServerSocket) Write

func (s *ServerSocket) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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