Versions in this module Expand all Collapse all v0 v0.0.2 Mar 6, 2018 v0.0.1 Feb 13, 2018 Changes in this version + var Version = "local build" + func MultiError(errors ...error) error + func RolledUpErrorMessage(err error) string + func UnwrapError(err error) error + func WrapError(inner error, message string) error + func WrapErrorf(inner error, format string, args ...interface{}) error + type BuildInfoResult struct + GitVersion string + OK bool + Version string + VersionArray []uint8 + type GetLastErrorResult struct + ConnectionID uint32 + type IsMasterResult struct + ArbiterOnly bool + Arbiters []string + ElectionID objectid.ObjectID + Hidden bool + Hosts []string + IsMaster bool + IsReplicaSet bool + LastWriteTimestamp time.Time + MaxBSONObjectSize uint32 + MaxMessageSizeBytes uint32 + MaxWireVersion int32 + MaxWriteBatchSize uint16 + Me string + MinWireVersion int32 + Msg string + OK int32 + Passives []string + ReadOnly bool + Secondary bool + SetName string + SetVersion uint32 + Tags map[string]string + type Semaphore struct + func NewSemaphore(slots uint64) *Semaphore + func (s *Semaphore) Len() uint64 + func (s *Semaphore) Release() error + func (s *Semaphore) Wait(ctx context.Context) error + type WrappedError interface + Inner func() error + Message func() string