Documentation
¶
Index ¶
- type ApiCore
- type Configuracion
- type Core
- func (C *Core) Asignar(v map[string]interface{}) (jSon []byte, err error)
- func (C *Core) CrearNOSQL(coleccion string, query string, db *mongo.Database) (jSon []byte, err error)
- func (C *Core) CrearQuery(v map[string]interface{}) (jSon []byte, err error)
- func (C *Core) IUDQuery(consulta string, conexion *sql.DB, tipo int64) (jSon []byte, err error)
- func (C *Core) IUDQueryBash(tabla string, lista []map[string]interface{}, consulta string, ...) (jSon []byte, err error)
- func (C *Core) InsertNOSQL(coleccion string, v interface{}) (jSon []byte, err error)
- func (C *Core) Listar() (jSon []byte, err error)
- func (C *Core) OperarConsulta(v map[string]interface{}) (jSon []byte, err error)
- func (C *Core) Select(v map[string]interface{}, consulta string, conexion *sql.DB) (jSon []byte, err error)
- type ORMPostgres
- type Object
- type Oficina
- type ReporteVentas
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiCore ¶
type ApiCore struct {
ID primitive.ObjectID `json:"id" bson:"_id"`
Modulo string `json:"modulo"`
Driver string `json:"driver"`
Tipo string `json:"tipo"`
Coleccion string `json:"coleccion"`
Query string `json:"query"`
Parametros string `json:"parametros"`
Ruta string `json:"ruta"`
Funcion string `json:"funcion"`
Retorna bool `json:"retorna"`
Concurrencia bool `json:"concurrencia"`
Migrar bool `json:"migrar"`
Metodo string `json:"metodo"`
Destino string `json:"destino"`
PuertoHttp int `json:"puertohttp"`
PuertoHttps int `json:"puertohttps"`
Protocolo string `json:"protocolo"`
Prioridad string `json:"prioridad"`
Entorno string `json:"entorno"`
Estatus bool `json:"estatus" bson:"estatus,omitempty"`
Relacional bool `json:"relacional"`
Valores interface{} `json:"valores" bson:"valores,omitempty"`
Logs bool `json:"logs"`
Cache int `json:"cache"`
Descripcion string `json:"descripcion"`
Resultado interface{} `json:"resultado"`
}
ApiCore Estructura de conexion
type Configuracion ¶
type Configuracion struct {
}
type Core ¶
type Core struct {
Sistema string `json:"sistema"`
Consulta string `json:"consulta"`
Ruta string `json:"ruta"`
Autor string `json:"autor"`
ApiCore
}
Core Ejecucion
func (*Core) CrearNOSQL ¶
func (C *Core) CrearNOSQL(coleccion string, query string, db *mongo.Database) (jSon []byte, err error)
CrearNOSQL Insert, Generador de Consultas
func (*Core) CrearQuery ¶
CrearQuery Creación dinamica de Consultas
func (*Core) IUDQueryBash ¶
func (C *Core) IUDQueryBash(tabla string, lista []map[string]interface{}, consulta string, conexion *sql.DB) (jSon []byte, err error)
IUDQueryBash Insert, Update, Delete Generador de Consultas
func (*Core) InsertNOSQL ¶
InsertNOSQL Insert, Generador de Consultas
func (*Core) OperarConsulta ¶
OperarConsulta Control de resultados
type ORMPostgres ¶
type ORMPostgres struct {
}
func (*ORMPostgres) Crear ¶
func (p *ORMPostgres) Crear()
Click to show internal directories.
Click to hide internal directories.