Documentation ¶
Index ¶
- type MongoDBMenu
- func (e *MongoDBMenu) CreateTableMenu() (err error)
- func (e *MongoDBMenu) Get() (menu []dataFormat.Menu, length int, err error)
- func (e *MongoDBMenu) GetClassroomMenuFields() (menu []dataFormat.Menu, length int, err error)
- func (e *MongoDBMenu) Install() (err error)
- func (e *MongoDBMenu) Set(id, idSecondary string, typeContent int, classroom int, text string, admin int, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDBMenu ¶
type MongoDBMenu struct { MongoDB.MongoDB ClientMenu *mongo.Collection }
func New ¶
func New() (referenceInicialized *MongoDBMenu, err error)
func (*MongoDBMenu) CreateTableMenu ¶
func (e *MongoDBMenu) CreateTableMenu() (err error)
func (*MongoDBMenu) Get ¶
func (e *MongoDBMenu) Get() (menu []dataFormat.Menu, length int, err error)
func (*MongoDBMenu) GetClassroomMenuFields ¶
func (e *MongoDBMenu) GetClassroomMenuFields() (menu []dataFormat.Menu, length int, err error)
func (*MongoDBMenu) Install ¶
func (e *MongoDBMenu) Install() (err error)
Click to show internal directories.
Click to hide internal directories.