controllers

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 8 Imported by: 0

README

/app/controllers

Code in this directory should handle everything related to business logic of this service.

Examples

  • Process request
  • Convert DTO to DB Model
  • Call DB operations
  • Call external services

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpamCheckController

type SpamCheckController interface {
	spamcheck.SpamcheckServiceServer
}

SpamCheckController Is the core of the business logic that controls how objects are checked for spam

func CreateSpamCheckController

func CreateSpamCheckController(cfg *config.Config, mlEngine mlengine.MlEngine) SpamCheckController

CreateSpamCheckController is the "constructor" SpamCheckController

Jump to

Keyboard shortcuts

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