httpdriver

package
v1.0.0-beta.92 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFeatureHandlerRequest

type CreateFeatureHandlerRequest = productcatalog.CreateFeatureInputs

type CreateFeatureHandlerResponse

type CreateFeatureHandlerResponse = productcatalog.Feature

type DeleteFeatureHandlerParams

type DeleteFeatureHandlerParams = string

type DeleteFeatureHandlerRequest

type DeleteFeatureHandlerRequest = models.NamespacedID

type DeleteFeatureHandlerResponse

type DeleteFeatureHandlerResponse = interface{}

type FeatureHandler

type FeatureHandler interface {
	GetFeature() GetFeatureHandler
	CreateFeature() CreateFeatureHandler
	ListFeatures() ListFeaturesHandler
	DeleteFeature() DeleteFeatureHandler
}

func NewFeatureHandler

func NewFeatureHandler(
	connector productcatalog.FeatureConnector,
	namespaceDecoder namespacedriver.NamespaceDecoder,
	options ...httptransport.HandlerOption,
) FeatureHandler

type GetFeatureHandlerParams

type GetFeatureHandlerParams = string

type GetFeatureHandlerRequest

type GetFeatureHandlerRequest = models.NamespacedID

type GetFeatureHandlerResponse

type GetFeatureHandlerResponse = productcatalog.Feature

type ListFeaturesHandlerParams

type ListFeaturesHandlerParams = api.ListFeaturesParams

type ListFeaturesHandlerRequest

type ListFeaturesHandlerRequest = productcatalog.ListFeaturesParams

type ListFeaturesHandlerResponse

type ListFeaturesHandlerResponse = []productcatalog.Feature

Jump to

Keyboard shortcuts

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