logs

package
v0.0.0-...-8833268 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socket

type Socket struct {
	Logs chan string
	// contains filtered or unexported fields
}

func OpenSocket

func OpenSocket(addr net.TCPAddr) *Socket

func (*Socket) AddClient

func (s *Socket) AddClient(id string) (<-chan string, error)

func (*Socket) RemoveClient

func (s *Socket) RemoveClient(id string) error

type SocketInterface

type SocketInterface interface {
	AddClient(string) (<-chan string, error)
	RemoveClient(string) error
}

Jump to

Keyboard shortcuts

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