webui

package
v0.0.0-...-c3a3a14 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastLog

func BroadcastLog(level, msg string)

func RunWebDownloader

func RunWebDownloader()

Types

type LogBroadcaster

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

func (*LogBroadcaster) Broadcast

func (lb *LogBroadcaster) Broadcast(msg string)

func (*LogBroadcaster) Subscribe

func (lb *LogBroadcaster) Subscribe() chan string

func (*LogBroadcaster) Unsubscribe

func (lb *LogBroadcaster) Unsubscribe(ch chan string)

type WebConfig

type WebConfig struct {
	Addr    string
	RPCAddr string
	Token   string
}

func DefaultConfig

func DefaultConfig() WebConfig

type WebDownloader

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

func NewWebDownloader

func NewWebDownloader(cfg WebConfig) *WebDownloader

func (*WebDownloader) Start

func (wd *WebDownloader) Start() error

Jump to

Keyboard shortcuts

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