port

package
v0.0.0-...-af286a6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IHandle

type IHandle interface {
	// HandleRequest business logic/*
	HandleRequest(ctx context.Context, req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
}

type IRepository

type IRepository interface {
	// FindById returns document type domain.TModel from db/*
	FindById(id interface{}) (*domain.TModel, error)
}

type IService

type IService interface {
	// GetTodo looking for *domain.TModel using id as interface{}/*
	GetTodo(id interface{}) (*domain.TModel, error)
}

Jump to

Keyboard shortcuts

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