api

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package server implements the API server for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, m metrics.Metrics, applications *core.Core, reg *prometheus.Registry, namespace string) *grpc.Server

New creates and returns gRPC server.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API provides the API server implementation.

func (*API) GenerateCode

func (api *API) GenerateCode(ctx context.Context, request *generator.GenerateCodeRequest) (*generator.GenerateCodeResponse, error)

GenerateCode implements generator.PluginGeneratorServiceServer.

func (*API) Plugins

Plugins implements generator.ServiceAPIServer.

Jump to

Keyboard shortcuts

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