controller

package
v0.0.0-...-2d801e5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountController

type AccountController interface {
	CreateAccount(resp http.ResponseWriter, r *http.Request)
	FindAccount(resp http.ResponseWriter, r *http.Request)
}

func NewAccountController

func NewAccountController(service service.AccountService) AccountController

type TransactionController

type TransactionController interface {
	CreateTransaction(resp http.ResponseWriter, r *http.Request)
}

func NewTransactionController

func NewTransactionController(service service.TransactionService) TransactionController

Jump to

Keyboard shortcuts

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