client

package
v0.0.0-...-2611c96 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(conn *websocket.Conn) *client

func NewModel

func NewModel(wsclient *client) model

--------------------------

Init

--------------------------

func NewWsConnection

func NewWsConnection(url, username string) (*websocket.Conn, error)

Types

type OnRead

type OnRead func(interface{})

func HandleOnRead

func HandleOnRead(p *tea.Program) OnRead

--------------------------

Util

--------------------------

Jump to

Keyboard shortcuts

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