clickhouse

package
v0.7.3-0...-afa7ed7 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(ctx context.Context, args ...interface{})
	Debugf(ctx context.Context, template string, args ...interface{})
	Info(ctx context.Context, args ...interface{})
	Infof(ctx context.Context, template string, args ...interface{})
	Warn(ctx context.Context, args ...interface{})
	Warnf(ctx context.Context, template string, args ...interface{})
	Error(ctx context.Context, args ...interface{})
	Errorf(ctx context.Context, template string, args ...interface{})
}

type Repository

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

func NewRepository

func NewRepository(db *sqlx.DB, logger Logger) *Repository

func (*Repository) ListEntry

func (r *Repository) ListEntry(ctx context.Context, input *domain.Query) ([]*domain.Entry, error)

func (*Repository) ListHostSuggest

func (r *Repository) ListHostSuggest(ctx context.Context, value string) ([]string, error)

func (*Repository) ListLevelSuggest

func (r *Repository) ListLevelSuggest(ctx context.Context, value string) ([]string, error)

func (*Repository) ListNamespaceSuggest

func (r *Repository) ListNamespaceSuggest(ctx context.Context, value string) ([]string, error)

func (*Repository) ListSourceSuggest

func (r *Repository) ListSourceSuggest(ctx context.Context, value string) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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