database

package
v0.0.0-...-2a07f05 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func New

func New(ctx context.Context) (*Database, error)

func (*Database) InsertError

func (d *Database) InsertError(ctx context.Context, event *protos.Error) error

InsertError takes an error and inserts it into clickhouse

func (*Database) SelectErrorsByCount

func (d *Database) SelectErrorsByCount(ctx context.Context) ([]*protos.QueryResponse_Result, error)

Jump to

Keyboard shortcuts

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