Documentation ¶
Index ¶
Constants ¶
View Source
const ( AscOrder = "asc" DescOrder = "desc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Host string Port int Name string User string Password string LogQueries bool }
func NewConfig ¶
func NewConfig(defaultConfig Configuration) Configuration
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func NewConnector ¶
func NewConnector(config Configuration) *Connector
type IntegrityViolationError ¶
type IntegrityViolationError struct {
Message string
}
func (IntegrityViolationError) Error ¶
func (e IntegrityViolationError) Error() string
type NotFoundError ¶
type NotFoundError struct {
Message string
}
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.