Documentation
¶
Index ¶
- type Agent
- func (a *Agent) AddRoot(pathName string) error
- func (a *Agent) GetRoots() []string
- func (a *Agent) ProduceData() iter.Seq[*repository.Local]
- func (a *Agent) PublishData(data []*repository.Local) error
- func (a *Agent) RemoveRoot(pathName string) error
- func (a *Agent) Run() error
- func (a *Agent) SaveConfigFile() error
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 (*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 (*Agent) SaveConfigFile ¶
Click to show internal directories.
Click to hide internal directories.