Versions in this module Expand all Collapse all v1 v1.1.0 Oct 22, 2015 Changes in this version + type DialContext struct + func Dial(url string, sessionNum int) (*DialContext, error) + func DialWithTimeout(url string, sessionNum int, dialTimeout time.Duration, timeout time.Duration) (*DialContext, error) + func (c *DialContext) Close() + func (c *DialContext) EnsureCounter(db string, collection string, id string) error + func (c *DialContext) EnsureIndex(db string, collection string, key []string) error + func (c *DialContext) EnsureUniqueIndex(db string, collection string, key []string) error + func (c *DialContext) NextSeq(db string, collection string, id string) (int, error) + func (c *DialContext) Ref() *Session + func (c *DialContext) UnRef(s *Session) + type Session struct + type SessionHeap []*Session + func (h *SessionHeap) Pop() interface{} + func (h *SessionHeap) Push(s interface{}) + func (h SessionHeap) Len() int + func (h SessionHeap) Less(i, j int) bool + func (h SessionHeap) Swap(i, j int)