Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitFunction ¶
type InitFunction func() error
Plugin must implement Init() function with the following type
type Message ¶
type Message struct {
Date time.Time
Facility int
Severity int
Hostname string
Process string
Pid int
Data string
}
this struct is the representation of syslog message.
type NewBatchFunction ¶
Plugin must implement NewBatch() function with the following type
type TransactionOps ¶
func NewTransaction ¶
func NewTransaction(table string, columns ...string) (TransactionOps, error)
NewBatch could use this function to initialise backend database transaction
Click to show internal directories.
Click to hide internal directories.