bncComponentLogger

package
v0.0.0-...-3d3f267 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MaxRetrieveSize int = 50

Variables

This section is empty.

Functions

func Run

func Run(manager *ircbnc.Manager)

Types

type FileMessageDatastore

type FileMessageDatastore struct {
	// contains filtered or unexported fields
}

func NewFileMessageDatastore

func NewFileMessageDatastore(config map[string]string) *FileMessageDatastore

func (*FileMessageDatastore) GetBeforeTime

func (*FileMessageDatastore) GetFromTime

func (*FileMessageDatastore) Search

func (*FileMessageDatastore) Store

func (ds *FileMessageDatastore) Store(event *ircbnc.HookIrcRaw)

func (*FileMessageDatastore) SupportsRetrieve

func (ds *FileMessageDatastore) SupportsRetrieve() bool

func (*FileMessageDatastore) SupportsSearch

func (ds *FileMessageDatastore) SupportsSearch() bool

func (*FileMessageDatastore) SupportsStore

func (ds *FileMessageDatastore) SupportsStore() bool

type Logger

type Logger struct {
	Manager *ircbnc.Manager
}

func (*Logger) RegisterHooks

func (logger *Logger) RegisterHooks()

type SqliteMessageDatastore

type SqliteMessageDatastore struct {
}

func NewSqliteMessageDatastore

func NewSqliteMessageDatastore(config map[string]string) *SqliteMessageDatastore

func (*SqliteMessageDatastore) GetBeforeTime

func (*SqliteMessageDatastore) GetFromTime

func (*SqliteMessageDatastore) Search

func (*SqliteMessageDatastore) Store

func (ds *SqliteMessageDatastore) Store(event *ircbnc.HookIrcRaw)

func (*SqliteMessageDatastore) SupportsRetrieve

func (ds *SqliteMessageDatastore) SupportsRetrieve() bool

func (*SqliteMessageDatastore) SupportsSearch

func (ds *SqliteMessageDatastore) SupportsSearch() bool

func (*SqliteMessageDatastore) SupportsStore

func (ds *SqliteMessageDatastore) SupportsStore() bool

Jump to

Keyboard shortcuts

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