Versions in this module Expand all Collapse all v0 v0.2.1 Aug 4, 2026 Changes in this version + const DefaultBufferSize + func IsStdinTTY() bool + type Config struct + BufferSize int + CommandExecutor ipc.CommandExecutor + Debug bool + Headless bool + PIDPath string + Port int + ReadyCallback ReadyCallback + SocketPath string + UserDataDir string + func DefaultConfig() Config + type Daemon struct + func New(cfg Config) *Daemon + func (d *Daemon) Handler() ipc.Handler + func (d *Daemon) Run(ctx context.Context) error + type Navigation struct + func (n *Navigation) CancelReason() cancelReason + func (n *Navigation) Cancelled() <-chan struct{} + func (n *Navigation) DOMReady() <-chan struct{} + func (n *Navigation) FrameNavigated() <-chan struct{} + func (n *Navigation) Loaded() <-chan struct{} + type REPL struct + func NewREPL(handler ipc.Handler, cmdExec ipc.CommandExecutor, shutdown func()) *REPL + func (r *REPL) Close() error + func (r *REPL) Run() error + func (r *REPL) SetSessionProvider(sp SessionProvider) + type ReadyCallback func(port int) + type RingBuffer struct + func NewRingBuffer[T any](capacity int, stamp func(*T, uint64)) *RingBuffer[T] + func (b *RingBuffer[T]) All() []T + func (b *RingBuffer[T]) Cap() int + func (b *RingBuffer[T]) Clear() + func (b *RingBuffer[T]) Len() int + func (b *RingBuffer[T]) Push(item T) + func (b *RingBuffer[T]) RemoveIf(fn func(*T) bool) + func (b *RingBuffer[T]) Update(fn func(*T) bool) + type SessionManager struct + func NewSessionManager() *SessionManager + func (m *SessionManager) Active() *ipc.PageSession + func (m *SessionManager) ActiveID() string + func (m *SessionManager) Add(sessionID, targetID, url, title string) + func (m *SessionManager) All() []ipc.PageSession + func (m *SessionManager) ClaimNetworkEnable(sessionID string) (first bool) + func (m *SessionManager) Clear() + func (m *SessionManager) ClearNetworkEnabled(sessionID string) + func (m *SessionManager) Count() int + func (m *SessionManager) FindByQuery(query string) []ipc.PageSession + func (m *SessionManager) Get(sessionID string) *ipc.PageSession + func (m *SessionManager) GetByTargetID(targetID string) *ipc.PageSession + func (m *SessionManager) NetworkEnabled(sessionID string) bool + func (m *SessionManager) Remove(sessionID string) (newActiveID string, activeChanged bool) + func (m *SessionManager) SetActive(sessionID string) bool + func (m *SessionManager) TargetID(sessionID string) string + func (m *SessionManager) Update(sessionID, url, title string) + func (m *SessionManager) UpdateByTargetID(targetID, url, title string) + type SessionProvider func() (active *ipc.PageSession, count int)