Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
func (Connection) String ¶
func (c Connection) String() (s string)
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func NewDatabase ¶ added in v1.0.105
func NewDatabase(c Connection) (*Source, error)
func (*Source) Collection ¶
func (s *Source) Collection(name string) *mgo.Collection
func (*Source) Open ¶
func (s *Source) Open(conn Connection) error
Click to show internal directories.
Click to hide internal directories.