event

package
v5.0.1-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogMessage

type LogMessage struct {
	EventID string `json:"event_id"`
	Step    string `json:"step"`
	Status  string `json:"status"`
	Message string `json:"message"`
	Level   string `json:"level"`
	Time    string `json:"time"`
}

LogMessage 事件日志实体

type Manager

type Manager struct {
	EventServerAddress []string
	Path               string
	// contains filtered or unexported fields
}

Manager 管理器

func NewManager

func NewManager(c option.Config) *Manager

NewManager new manager

func (*Manager) Debug

func (m *Manager) Debug(eventID, status, message string)

Debug debug

func (*Manager) Error

func (m *Manager) Error(eventID, status, message string)

Error error

func (*Manager) Info

func (m *Manager) Info(eventID, status, message string)

Info info

Jump to

Keyboard shortcuts

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