Documentation ¶
Index ¶
- type InMemoryDBConnector
- func (c *InMemoryDBConnector) DeleteDoorman(id bson.ObjectId) error
- func (c *InMemoryDBConnector) Exists(dmd *doormen.DoormanDefinition) bool
- func (c *InMemoryDBConnector) ExistsId(id bson.ObjectId) bool
- func (c *InMemoryDBConnector) GetAllDoormen() <-chan *doormen.DoormanId
- func (c *InMemoryDBConnector) GetDoorman(id bson.ObjectId) (*doormen.DoormanDefinition, error)
- func (c *InMemoryDBConnector) Save(dmd *doormen.DoormanDefinition) error
- func (c *InMemoryDBConnector) Update(dmd *doormen.DoormanDefinition) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryDBConnector ¶
type InMemoryDBConnector struct {
// contains filtered or unexported fields
}
func NewInMemoryDBConnector ¶
func NewInMemoryDBConnector() *InMemoryDBConnector
func (*InMemoryDBConnector) DeleteDoorman ¶
func (c *InMemoryDBConnector) DeleteDoorman(id bson.ObjectId) error
func (*InMemoryDBConnector) Exists ¶
func (c *InMemoryDBConnector) Exists(dmd *doormen.DoormanDefinition) bool
func (*InMemoryDBConnector) ExistsId ¶
func (c *InMemoryDBConnector) ExistsId(id bson.ObjectId) bool
func (*InMemoryDBConnector) GetAllDoormen ¶
func (c *InMemoryDBConnector) GetAllDoormen() <-chan *doormen.DoormanId
func (*InMemoryDBConnector) GetDoorman ¶
func (c *InMemoryDBConnector) GetDoorman(id bson.ObjectId) (*doormen.DoormanDefinition, error)
func (*InMemoryDBConnector) Save ¶
func (c *InMemoryDBConnector) Save(dmd *doormen.DoormanDefinition) error
func (*InMemoryDBConnector) Update ¶
func (c *InMemoryDBConnector) Update(dmd *doormen.DoormanDefinition) error
Click to show internal directories.
Click to hide internal directories.