repositories

package
v1.0.1-0...-55f3d51 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogsRepository

type LogsRepository interface {
	GetAccessLogs(size int) ([]models.LogFile, error)
	GetErrorLogs(size int) ([]models.LogFile, error)
	GetSqlLogs(size int) ([]models.LogFile, error)
}

LogsRepository lists methods

type UserRepository

type UserRepository interface {
	CheckLogin(username, password string) (models.User, error)
	ChangePassword(user *models.User, password string) bool
	GetAllSqlRows(limit uint) (rows *sql.Rows, err error)
}

UserRepository lists methods

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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