user

package
v0.0.0-...-c8a0c3b Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepo

type UserRepo struct {
	Db *gorm.DB
	// contains filtered or unexported fields
}

func New

func New() *UserRepo

func (*UserRepo) Create

func (ur *UserRepo) Create(w http.ResponseWriter, r *http.Request)

func (*UserRepo) Delete

func (ur *UserRepo) Delete(w http.ResponseWriter, r *http.Request)

func (*UserRepo) Disable

func (ur *UserRepo) Disable(w http.ResponseWriter, r *http.Request)

func (*UserRepo) Enable

func (ur *UserRepo) Enable(w http.ResponseWriter, r *http.Request)

func (*UserRepo) Get

func (ur *UserRepo) Get(w http.ResponseWriter, r *http.Request)

func (*UserRepo) GetUsers

func (ur *UserRepo) GetUsers(w http.ResponseWriter, r *http.Request)

func (*UserRepo) LogIn

func (ur *UserRepo) LogIn(w http.ResponseWriter, r *http.Request)

func (*UserRepo) Update

func (ur *UserRepo) Update(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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