INNER CODE UNIT · Go
func
Ne0nd0g/merlin · pkg/agents/agents.go:110
func (a *Agent) Alive() bool {
return a.alive
}
// Authenticated checks to see if the agent has successfully completed authentication
func (a *Agent) Authenticated() bool {
return a.authenticated
}
// SetAuthenticated updates that Agent's authenticated field, typically once authentication has completed
func (a *Agent) SetAuthenticated(authenticated bool) {
a.authenticated = authenticated
}
// ID return's the Agent's unique ID
func (a *Agent) ID() uuid.UUID {
return a.id
}