Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EntityInfo ¶
type EntityInfo struct { Result interface{} Error error }
type Formatter ¶ added in v0.10.0
type Formatter interface {
FormatMessage(value map[string]EntityInfo) string
}
type JsonFormatter ¶ added in v0.10.0
type JsonFormatter struct {
// contains filtered or unexported fields
}
func (JsonFormatter) FormatMessage ¶ added in v0.10.0
func (w JsonFormatter) FormatMessage(value map[string]EntityInfo) string
type LineFormatter ¶ added in v0.10.0
type LineFormatter struct { }
func (LineFormatter) FormatMessage ¶ added in v0.10.0
func (w LineFormatter) FormatMessage(value map[string]EntityInfo) string
type LogFormatter ¶ added in v0.10.0
type LogFormatter struct {
// contains filtered or unexported fields
}
LogFormatter Formats the information with a regular logging
func (LogFormatter) FormatMessage ¶ added in v0.10.0
func (w LogFormatter) FormatMessage(value map[string]EntityInfo) string
type TableFormatter ¶ added in v0.10.0
type TableFormatter struct {
// contains filtered or unexported fields
}
func (TableFormatter) FormatMessage ¶ added in v0.10.0
func (w TableFormatter) FormatMessage(value map[string]EntityInfo) string
Click to show internal directories.
Click to hide internal directories.