Documentation ¶
Index ¶
- Constants
- type Driver
- func (p *Driver) Close() error
- func (driver *Driver) FilenameExtension() string
- func (driver *Driver) Initialize(url string, initOptions ...func(driver.Driver)) error
- func (driver *Driver) Invoke(methodName string) error
- func (p *Driver) Lock() error
- func (d *Driver) MethodsReceiver() interface{}
- func (driver *Driver) Migrate(f file.File, pipe chan interface{})
- func (d *Driver) SetMethodsReceiver(r interface{}) error
- func (p *Driver) Unlock() error
- func (driver *Driver) Validate(methodName string) error
- func (driver *Driver) Version() (uint64, error)
- type MethodsReceiver
- type UnregisteredMethodsReceiverError
- type WrongMethodsReceiverTypeError
Constants ¶
View Source
const DRIVER_NAME = "generic"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) FilenameExtension ¶
func (*Driver) Initialize ¶
func (*Driver) Lock ¶ added in v1.6.0
https://www.postgresql.org/docs/9.6/static/explicit-locking.html#ADVISORY-LOCKS
func (*Driver) MethodsReceiver ¶
func (d *Driver) MethodsReceiver() interface{}
func (*Driver) SetMethodsReceiver ¶
type MethodsReceiver ¶
type MethodsReceiver interface { }
type UnregisteredMethodsReceiverError ¶
type UnregisteredMethodsReceiverError string
func (UnregisteredMethodsReceiverError) Error ¶
func (e UnregisteredMethodsReceiverError) Error() string
type WrongMethodsReceiverTypeError ¶
type WrongMethodsReceiverTypeError string
func (WrongMethodsReceiverTypeError) Error ¶
func (e WrongMethodsReceiverTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.