Documentation ¶ Index ¶ func WithSequences(r *container.Registry, collectionName string) error type Document type Manager func (m *Manager) Increment(r *container.Registry, name, collection string, seq Number) (Number, error) type Number type Value Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WithSequences ¶ func WithSequences(r *container.Registry, collectionName string) error Types ¶ type Document ¶ type Document struct { Name string `bson:"name"` CollectionName string `bson:"collectionName"` Number Number `bson:"number,omitempty" ` TenantData bson.M `bson:"tenantData"` } type Manager ¶ type Manager struct { DB odm.Manager MultiTenantManager *multitenant.Manager } func (*Manager) Increment ¶ func (m *Manager) Increment(r *container.Registry, name, collection string, seq Number) (Number, error) type Number ¶ type Number int64 type Value ¶ type Value int64 Source Files ¶ View all Source files number.go registry.go Click to show internal directories. Click to hide internal directories.