Documentation
¶
Index ¶
- func AddChannel(topic, channel, organization string, enabled bool) error
- func Delete(doc *utils.M) error
- func Get(org, topic string, enabled bool) (error, *db.Locks)
- func GetAll(org string) []db.Topic
- func GetAllDisabled(org string) []db.Locks
- func GetAllEnabled(org string) []db.Locks
- func Insert(preference *db.Locks) string
- func IsLocked(org string, topic, channel string, enabled bool) bool
- func RemoveChannel(topic, channel, organization string, enabled bool) error
- func Update(id bson.ObjectId, doc utils.M) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddChannel ¶
func GetAllDisabled ¶
func GetAllEnabled ¶
func RemoveChannel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.