Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyExists is thrown when db instance already exists ErrAlreadyExists = errors.New("instance already exists") // ErrNotExists is thrown when db instance does not exists ErrNotExists = errors.New("instance does not exists") // ErrInstanceNotReady is thrown when gsql instance is still not marked as Ready ErrInstanceNotReady = errors.New("instance is not ready") )
Functions ¶
Types ¶
type DbInstance ¶
type DbInstance interface {
// contains filtered or unexported methods
}
DbInstance interface to operate database server
type Generic ¶
type Generic struct { Host string Port uint16 Engine string User string Password string PublicIP string SSLEnabled bool SkipCAVerify bool }
Generic represents database instance which can be connected by address and port
Click to show internal directories.
Click to hide internal directories.