Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorAPIService ¶
type ActorAPIService struct {
// contains filtered or unexported fields
}
ActorAPIService is the implementation auf the audit service
func NewActorAPIService ¶
func NewActorAPIService(block bool) (service *ActorAPIService, err error)
NewActorAPIService initializes the instance of the audit service
func (*ActorAPIService) Close ¶
func (service *ActorAPIService) Close() error
Close stops the audit service
type ActorDAO ¶
ActorDAO is the interface to the DB Storage operations for the Actor API
type Audit ¶
type Audit struct {
DataSource
Event string `json:"event"`
Stamp time.Time `json:"stamp"`
Message *Message `json:"message,omitempty"`
Data *string `json:"data,omitempty"`
}
Audit message
type DataSource ¶
DataSource specifies the origin of the message
type LogMessage ¶
type LogMessage struct {
DataSource
Stamp time.Time `json:"stamp"`
Log struct {
Level string `json:"level"`
Message string `json:"message"`
} `json:"log"`
}
LogMessage a log message sent
type Message ¶
type Message struct {
DataSource
ID int64 `json:"id"`
Stamp time.Time `json:"stamp"`
Type string `json:"type"`
Channel string `json:"channel"`
Message MessageData `json:"message"`
}
Message is a channel message
type MessageData ¶
MessageData contains the data of the message and its hash
Click to show internal directories.
Click to hide internal directories.