Documentation ¶
Index ¶
Constants ¶
View Source
const ( Clickhouse = "clickhouse" Postgres = "postgres" Mysql = "mysql" )
Supported database drivers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AxisValues ¶
AxisValues represents X and Y-axis values
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents database driver client
func New ¶
func New(userParam ClientParam) (*Client, error)
New creates new data-base connection interface
func (*Client) FetchAxisValue ¶
func (c *Client) FetchAxisValue(sqlStatement string) (AxisValues, error)
Fetch rows data using sql query statement to plot X-Y Axis candlestick
type ClientParam ¶
ClientParam represents interface to connect to sqldb
Click to show internal directories.
Click to hide internal directories.