MongoDBMenu

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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)

func (*MongoDBMenu) Set

func (e *MongoDBMenu) Set(id, idSecondary string, typeContent int, classroom int, text string, admin int, icon, url string, order int) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL