demo

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSessions

func GenerateSessions() []*model.Session

GenerateSessions creates a set of realistic fake sessions for demo purposes. Each call randomises statuses and timestamps so that multiple sessions appear actively working at the same time, making the UI look alive.

Types

type Provider

type Provider struct{}

Provider implements core.SessionProvider with generated fake data.

func (Provider) DiscoverSessions

func (Provider) DiscoverSessions() ([]*model.Session, error)

func (Provider) RefreshInterval

func (Provider) RefreshInterval() time.Duration

func (Provider) UseWatcher

func (Provider) UseWatcher() bool

func (Provider) WatchDirs

func (Provider) WatchDirs() []string

Jump to

Keyboard shortcuts

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