Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EntityLogs ... EntityLogs = string("logs") AttrErrTotal = "err_total" AttrErrToday = "err_today" AttrErrYesterday = "err_yesterday" AttrWarnTotal = "warn_total" AttrWarnToday = "warn_today" AttrWarnYesterday = "warn_yesterday" // Name ... Name = "logs" // EntityType ... EntityType = "logs" Version = "0.0.1" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Actor ¶
type Actor struct { entity_manager.BaseActor ErrTotal metrics.Counter ErrToday metrics.Counter ErrYesterday metrics.Counter WarnTotal metrics.Counter WarnToday metrics.Counter WarnYesterday metrics.Counter // contains filtered or unexported fields }
Actor ...
func NewActor ¶
func NewActor(entityManager entity_manager.EntityManager, eventBus bus.Bus, entity *m.Entity) *Actor
NewActor ...
func (*Actor) Spawn ¶
func (e *Actor) Spawn() entity_manager.PluginActor
Click to show internal directories.
Click to hide internal directories.