services

package
v0.0.0-...-e517c40 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 7 Imported by: 0

README

/app/services

Code in this directory should handle things that are not related to the actual business logic. This layer should only be familiar with everything related to API models.

Should handle

  • Input validations
  • Authorization
    • Role check
  • Request/Response shaping
    • Extract a value from Context and replace it's corresponding one in request/response
  • Errors mapping

Shouldn't handle

  • Converting DTOs
  • Access DB
  • Implement business logic

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCoreService

func CreateCoreService(deps coreServiceDeps) core.CoreServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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