Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
type DBClient struct {
// contains filtered or unexported fields
}
func (*DBClient) FetchEvents ¶
func (*DBClient) InsertEvent ¶
type DBInterface ¶
type DBInterface interface { InsertEvent(event string) FetchEvents() []map[string]interface{} Close() }
func NewDBClient ¶
func NewDBClient(conf *config.Config) (DBInterface, error)
Click to show internal directories.
Click to hide internal directories.