Documentation ¶
Index ¶
- func Connect()
- type LogDAO
- func (m *LogDAO) Delete(logMessage model.LogMessage) error
- func (m *LogDAO) FindAllPageable(searchTerm string, limit int, offset int) ([]model.LogMessage, error)
- func (m *LogDAO) FindByID(id string) (model.LogMessage, error)
- func (m *LogDAO) FindByIntegracaoFilial(integracao string, filial string) ([]model.LogMessage, error)
- func (m *LogDAO) FindGroupFilialTipo() ([]model.LogGroupFilialTipo, error)
- func (m *LogDAO) FindGroupIntegracao() ([]model.LogGroupIntegracao, error)
- func (m *LogDAO) Insert(logMessage model.LogMessage) error
- func (m *LogDAO) Update(logMessage model.LogMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogDAO ¶
type LogDAO struct { }
LogDAO representa a conexao do server e banco
func (*LogDAO) Delete ¶
func (m *LogDAO) Delete(logMessage model.LogMessage) error
Delete deleta um registro
func (*LogDAO) FindAllPageable ¶
func (m *LogDAO) FindAllPageable(searchTerm string, limit int, offset int) ([]model.LogMessage, error)
FindAllPageable busca todos com paginação
func (*LogDAO) FindByID ¶
func (m *LogDAO) FindByID(id string) (model.LogMessage, error)
FindByID busca por id
func (*LogDAO) FindByIntegracaoFilial ¶
func (m *LogDAO) FindByIntegracaoFilial(integracao string, filial string) ([]model.LogMessage, error)
FindByIntegracaoFilial retorna logs agrupado por codigo integracao
func (*LogDAO) FindGroupFilialTipo ¶
func (m *LogDAO) FindGroupFilialTipo() ([]model.LogGroupFilialTipo, error)
FindGroupFilialTipo retorna todos os registros agrupados por filial e tipo de log
func (*LogDAO) FindGroupIntegracao ¶
func (m *LogDAO) FindGroupIntegracao() ([]model.LogGroupIntegracao, error)
FindGroupIntegracao retorna logs agrupado por codigo integracao
Click to show internal directories.
Click to hide internal directories.