mcpendpoints

package
v0.0.0-...-621b8cf Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(mux goahttp.Muxer, service *Service)

Types

type Service

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

func NewService

func NewService(
	logger *slog.Logger,
	tracerProvider trace.TracerProvider,
	db *pgxpool.Pool,
	sessions *sessions.Manager,
	authzEngine *authz.Engine,
	auditLogger *audit.Logger,
) *Service

func (*Service) APIKeyAuth

func (s *Service) APIKeyAuth(ctx context.Context, key string, schema *security.APIKeyScheme) (context.Context, error)

func (*Service) CreateMcpEndpoint

func (s *Service) CreateMcpEndpoint(ctx context.Context, payload *gen.CreateMcpEndpointPayload) (*types.McpEndpoint, error)

func (*Service) DeleteMcpEndpoint

func (s *Service) DeleteMcpEndpoint(ctx context.Context, payload *gen.DeleteMcpEndpointPayload) error

func (*Service) GetMcpEndpoint

func (s *Service) GetMcpEndpoint(ctx context.Context, payload *gen.GetMcpEndpointPayload) (*types.McpEndpoint, error)

func (*Service) ListMcpEndpoints

func (s *Service) ListMcpEndpoints(ctx context.Context, payload *gen.ListMcpEndpointsPayload) (*gen.ListMcpEndpointsResult, error)

func (*Service) UpdateMcpEndpoint

func (s *Service) UpdateMcpEndpoint(ctx context.Context, payload *gen.UpdateMcpEndpointPayload) (*types.McpEndpoint, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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