Documentation ¶
Index ¶
- Constants
- type DbMigration
- type Driver
- func (driver *Driver) Close() error
- func (driver *Driver) FilenameExtension() string
- func (driver *Driver) Initialize(url string) error
- func (driver *Driver) Invoke(methodName string) error
- func (d *Driver) MethodsReceiver() interface{}
- func (driver *Driver) Migrate(f file.File, pipe chan interface{})
- func (d *Driver) SetMethodsReceiver(r interface{}) 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 = "gomethods.mongodb"
View Source
const MIGRATE_C = "migrations"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbMigration ¶
type Driver ¶
type Driver struct { Connection *bongo.Connection // contains filtered or unexported fields }
func (*Driver) FilenameExtension ¶
func (*Driver) Initialize ¶
func (*Driver) MethodsReceiver ¶
func (d *Driver) MethodsReceiver() interface{}
func (*Driver) SetMethodsReceiver ¶
type MethodsReceiver ¶
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.