agents

package
v0.0.0-...-a191120 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2013 License: MIT Imports: 6 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 {
	Name     string
	Fullpath string
}

func Find

func Find(pattern string) ([]Agent, error)

Find returns only the agents that match with the pattern. If no pattern was assigned, returns all agents.

func FindOne

func FindOne(pattern string) (agent *Agent, err error)

FindOne returns only one agent when found. It returns nil if none were found. FindOne will print a list returns nil if multiple agents were found.

Jump to

Keyboard shortcuts

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