user

package
v0.0.0-...-3a27eef Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	// contains filtered or unexported fields
}

User struct

func New

func New(db *sql.DB) *User

New user module

func (*User) AllUsers

func (u *User) AllUsers(w http.ResponseWriter, r *http.Request)

AllUsers - get all users on system

func (*User) GetUserByID

func (u *User) GetUserByID(w http.ResponseWriter, r *http.Request)

GetUserByID from table users

func (*User) Register

func (u *User) Register(r *mux.Router)

Register controller handlers

Jump to

Keyboard shortcuts

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