account

package
v0.0.0-...-ec4765f Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 6 Imported by: 0

README

ACCOUNT APP

1. Quick Review

Account app will hold user related operation including :

  1. CRUD for user accout
  2. CRUD for user.role
  3. Read only for user.status (since the status is fix)
  4. Auth for user account (login, signin, signout)
2. Directory Structure
|-- account/
|-- |-- datastore/
|-- |-- |-- user.go
|-- |-- |-- user.role.go
|-- |-- |-- user.role_test.go
|-- |-- |-- user.status.go
|-- |-- |-- user.status_test.go
|-- |-- |-- user_test.go
|-- |-- handler/
|-- |-- |-- user.go
|-- |-- |-- user.role.go
|-- |-- |-- user.role_test.go
|-- |-- |-- user.status.go
|-- |-- |-- user.status_test.go
|-- |-- |-- user_test.go
|-- |-- service/
|-- |-- |-- user.go
|-- |-- |-- user.role.go
|-- |-- |-- user.role_test.go
|-- |-- |-- user.status.go
|-- |-- |-- user.status_test.go
|-- |-- |-- user_test.go
|-- |-- README.md
|-- |-- router.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(dbPool db.IDatabase, router *gin.Engine)

Types

This section is empty.

Directories

Path Synopsis
datastore package auth.go - datastore layer for authentification
datastore package auth.go - datastore layer for authentification
handler package auth.go - interaction/ handler layer for authentification
handler package auth.go - interaction/ handler layer for authentification
service package auth.go - service/ business layer for authentification
service package auth.go - service/ business layer for authentification

Jump to

Keyboard shortcuts

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