services

package
v0.0.0-...-109f6fb Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 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 CreateHelloworldService

func CreateHelloworldService(deps helloworldServiceDeps) helloworld.GreeterServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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