Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
func (*Buffer) GetAt ¶
func (b *Buffer) GetAt(loc int) Structline
func (*Buffer) GetRange ¶
func (b *Buffer) GetRange(st, fi int) []Structline
type Structline ¶
type Structline struct { Complete bool Type string Message string Meta string Priority string Timestamp time.Time KV map[string]interface{} }
func GlogTransformer ¶
func GlogTransformer(meta, in string) (Structline, bool)
func JSONTransformer ¶
func JSONTransformer(meta, in string) (Structline, bool)
func PassthruTransformer ¶
func PassthruTransformer(meta, in string) (Structline, bool)
type Transformer ¶
type Transformer func(string, string) (Structline, bool)
func CombineTransformers ¶
func CombineTransformers(strict bool, ts ...Transformer) Transformer
Click to show internal directories.
Click to hide internal directories.