agent

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func New

func New() (*Agent, error)

func (*Agent) AddRoot

func (a *Agent) AddRoot(pathName string) error

func (*Agent) GetRoots

func (a *Agent) GetRoots() []string

func (*Agent) ProduceData

func (a *Agent) ProduceData() iter.Seq[*repository.Local]

func (*Agent) PublishData

func (a *Agent) PublishData(data []*repository.Local) error

func (*Agent) RemoveRoot

func (a *Agent) RemoveRoot(pathName string) error

func (*Agent) Run

func (a *Agent) Run() error

func (*Agent) SaveConfigFile

func (a *Agent) SaveConfigFile() error

Jump to

Keyboard shortcuts

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