httpdriver

package
v1.0.0-beta.187 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CreateCustomerRequest

type CreateCustomerRequest = customerentity.CreateCustomerInput

type CreateCustomerResponse

type CreateCustomerResponse = api.Customer

type CustomerHandler

type CustomerHandler interface {
	ListCustomers() ListCustomersHandler
	CreateCustomer() CreateCustomerHandler
	DeleteCustomer() DeleteCustomerHandler
	GetCustomer() GetCustomerHandler
	UpdateCustomer() UpdateCustomerHandler
}

type DeleteCustomerRequest

type DeleteCustomerRequest = customerentity.DeleteCustomerInput

type DeleteCustomerResponse

type DeleteCustomerResponse = interface{}

type GetCustomerRequest

type GetCustomerRequest = customerentity.GetCustomerInput

type GetCustomerResponse

type GetCustomerResponse = api.Customer

type Handler

type Handler interface {
	CustomerHandler
}

func New

func New(
	namespaceDecoder namespacedriver.NamespaceDecoder,
	service customer.Service,
	options ...httptransport.HandlerOption,
) Handler

type ListCustomersParams

type ListCustomersParams = api.ListCustomersParams

type ListCustomersRequest

type ListCustomersRequest = customerentity.ListCustomersInput

type ListCustomersResponse

type ListCustomersResponse = api.CustomerPaginatedResponse

type UpdateCustomerRequest

type UpdateCustomerRequest = customerentity.UpdateCustomerInput

type UpdateCustomerResponse

type UpdateCustomerResponse = api.Customer

Jump to

Keyboard shortcuts

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