Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemcachedOptions ¶
type MemcachedOptions struct {
Addr string
}
MemcachedOptions options for memcached database
func (MemcachedOptions) NewConnection ¶
func (o MemcachedOptions) NewConnection() *memcache.Client
NewConnection creates a new connection to memcached datgabase
type SQLOptions ¶
type SQLOptions struct {
DatabasePath string
}
func (SQLOptions) GenerateDatabase ¶
func (o SQLOptions) GenerateDatabase() (*sqlx.DB, error)
Click to show internal directories.
Click to hide internal directories.