Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VersionHandler ¶
func VersionHandler(version string) echo.HandlerFunc
Types ¶
type HealthHandler ¶
type HealthHandler struct { }
type LogEvent ¶ added in v0.4.2
type LogEvent struct { LogData LogData `json:"logData"` ApplicationName string `json:"applicationName"` ServiceName string `json:"serviceName"` EventId string `json:"eventId"` ServerName string `json:"serverName"` OriginatingUser string `json:"originatingUser"` Id string `json:"id"` LogTime time.Time `json:"logTime"` TransactionId string `json:"transactionId"` ApplicationVersion string `json:"applicationVersion"` ProductName string `json:"productName"` Category string `json:"category"` ApplicationInstance string `json:"applicationInstance"` Severity string `json:"severity"` Component string `json:"component"` ResourceType string `json:"resourceType"` }
type RabbitMQHandler ¶
type RabbitMQHandler struct {
// contains filtered or unexported fields
}
func NewRabbitMQHandler ¶
func NewRabbitMQHandler(promtailAddr string) (*RabbitMQHandler, error)
func (*RabbitMQHandler) CreateWorker ¶
func (h *RabbitMQHandler) CreateWorker(exchange, exchangeType, routingKey, queueName, consumerTag string) (chan bool, error)
func (*RabbitMQHandler) RabbitMQRFC5424Worker ¶
func (h *RabbitMQHandler) RabbitMQRFC5424Worker(doneChannel <-chan bool) rabbitmq.ConsumerHandlerFunc
type RabbitMQMessage ¶ added in v0.4.2
type SyslogHandler ¶
type SyslogHandler struct {
// contains filtered or unexported fields
}
func NewSyslogHandler ¶
func NewSyslogHandler(token, promtailAddr string) (*SyslogHandler, error)
Click to show internal directories.
Click to hide internal directories.