ui

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chats

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

func NewChats

func NewChats() Chats

func (Chats) Add

func (c Chats) Add(ctx context.Context, instance string, state api.InstanceState) State

func (Chats) Beam

func (c Chats) Beam() doors.Beam[map[api.ThreadID]api.InstanceChat]

func (Chats) Remove

func (c Chats) Remove(ctx context.Context, instance string)

type State

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

func (State) Beam

func (s State) Beam() doors.Beam[api.InstanceState]

func (State) Create

func (s State) Create(ctx context.Context)

func (State) Disable

func (s State) Disable(ctx context.Context)

func (State) Enable

func (s State) Enable(ctx context.Context)

func (State) Enabled

func (s State) Enabled() doors.Beam[bool]

func (State) Open

func (s State) Open(ctx context.Context, thread api.InstanceThread)

func (State) Rename

func (s State) Rename(ctx context.Context, name string)

func (State) Touch

func (s State) Touch(ctx context.Context, at time.Time)

Jump to

Keyboard shortcuts

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