Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicAuth ¶
func (*BasicAuth) ValidateConfig ¶
type ClickhouseClient ¶
type ClickhouseClient interface { Select(ctx context.Context, qry string, callback func(Row) error) error Exec(ctx context.Context, qry string) error }
func NewHTTPClient ¶
func NewHTTPClient(config HTTPClientConfig) (ClickhouseClient, error)
func NewNativeClient ¶
func NewNativeClient(config NativeClientConfig) (ClickhouseClient, error)
type HTTPClientConfig ¶
type NativeClientConfig ¶
type NativeClientConfig struct { Host string Port uint16 UserPasswordAuth *UserPasswordAuth EnableTLS bool }
type UserPasswordAuth ¶
func (*UserPasswordAuth) ValidateConfig ¶
func (u *UserPasswordAuth) ValidateConfig() (bool, []string)
Click to show internal directories.
Click to hide internal directories.