endpoint

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

endpoints.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCreatePaymentHandler

func MakeCreatePaymentHandler(e endpoint.Endpoint) http.HandlerFunc

Implement MakeCreatePaymentHandler

func MakeGetPaymentHandler

func MakeGetPaymentHandler(e endpoint.Endpoint) http.HandlerFunc

Implement MakeGetPaymentHandler

func MakeUpdatePaymentHandler

func MakeUpdatePaymentHandler(e endpoint.Endpoint) http.HandlerFunc

Implement MakeUpdatePaymentHandler

Types

type Endpoints

type Endpoints struct {
	CreatePayment endpoint.Endpoint
	GetPayment    endpoint.Endpoint
	UpdatePayment endpoint.Endpoint
}

func MakeEndpoints

func MakeEndpoints(s service.Service) Endpoints

Jump to

Keyboard shortcuts

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