features

package
v1.0.0-beta.228 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFeatureRequest

type CreateFeatureRequest = feature.CreateFeatureInputs

type CreateFeatureResponse

type CreateFeatureResponse = api.Feature

type DeleteFeatureParams

type DeleteFeatureParams = string

type DeleteFeatureRequest

type DeleteFeatureRequest = models.NamespacedID

type DeleteFeatureResponse

type DeleteFeatureResponse = interface{}

type GetFeatureParams

type GetFeatureParams = string

type GetFeatureRequest

type GetFeatureRequest struct {
	Namespace string
	IDOrKey   string
}

type GetFeatureResponse

type GetFeatureResponse = api.Feature

type Handler

type Handler interface {
	ListFeatures() ListFeaturesHandler
	GetFeature() GetFeatureHandler
	CreateFeature() CreateFeatureHandler
	UpdateFeature() UpdateFeatureHandler
	DeleteFeature() DeleteFeatureHandler
}

func New

func New(
	resolveNamespace func(ctx context.Context) (string, error),
	connector feature.FeatureConnector,
	meterService meter.Service,
	llmcostService llmcost.Service,
	options ...httptransport.HandlerOption,
) Handler

type ListFeaturesParams

type ListFeaturesParams = api.ListFeaturesParams

type ListFeaturesRequest

type ListFeaturesRequest = feature.ListFeaturesParams

type UpdateFeatureParams

type UpdateFeatureParams = string

type UpdateFeatureRequest

type UpdateFeatureRequest = feature.UpdateFeatureInputs

type UpdateFeatureResponse

type UpdateFeatureResponse = api.Feature

Jump to

Keyboard shortcuts

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