clickhouse-dictionary-api

command module
v0.0.0-...-3615eb4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2019 License: MIT Imports: 9 Imported by: 0

README

[WIP] The simple API that provides an HTTP source for the ClickHouse external dictionaries.

Supported databases:

  • PostgreSQL
  • MySQL

Supported output formats:

  • TabSeparated
  • JSONEachRow

Usage:

$ go build 

$ ./clickhouse-dictionary-api -h

Usage of ./clickhouse-dictionary-api:
  -c string
         (default "config.yaml")

curl http://127.0.0.1:8080/dictionary/countries?format=JSONEachRow

{"id":316,"name":"RU"}
{"id":316,"name":"CY"}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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