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 IHandler

type IHandler interface {
	// HandleRequest handle request/*
	HandleRequest(ctx context.Context, req events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
}

type IRepository

type IRepository interface {
	// Insert inserts a new domain.TModel document into db/*
	Insert(todo domain.TModel) (string, error)
}

type IService

type IService interface {
	// CreateTodo inserts a new item into db/*
	CreateTodo(name, priority string) (string, error)
}

Jump to

Keyboard shortcuts

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