visualplan

package
v0.0.0-...-0119d12 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNS = errorx.NewNamespace("error.api.visualplan")
View Source
var Module = fx.Options(
	fx.Provide(newService),
	fx.Invoke(registerRouter),
)

Functions

This section is empty.

Types

type GenerateVisualPlanRequest

type GenerateVisualPlanRequest struct {
	BinaryPlan string `json:"binary_plan"`
}

type Service

type Service struct {
	FeatureVisualPlan *featureflag.FeatureFlag
	// contains filtered or unexported fields
}

func (*Service) GenerateVisualPlan

func (s *Service) GenerateVisualPlan(c *gin.Context)

// @Summary Generate VisualPlan // @Router /visualplan/generate [post] // @Security JwtAuth // @Param request body GenerateVisualPlanRequest true "Request body" // @Success 200 {object} string // @Failure 401 {object} rest.ErrorResponse // @Failure 500 {object} rest.ErrorResponse.

type ServiceParams

type ServiceParams struct {
	fx.In
}

Jump to

Keyboard shortcuts

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