api

package
v0.0.0-...-db1a339 Latest Latest
Warning

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

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

Documentation

Overview

Package api contains the API server.

HTTP is the only transport supported at the moment.

The design package is the Goa design package while the gen package contains all the generated code produced with goa gen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPServer

func HTTPServer(
	logger logr.Logger,
	tp trace.TracerProvider,
	config *Config,
	pkgsvc intpkg.Service,
	storagesvc intstorage.Service,
	uploadsvc intupload.Service,
) *http.Server

Types

type Config

type Config struct {
	Listen     string
	Debug      bool
	Auth       auth.Config
	CORSOrigin string
}

Directories

Path Synopsis
fake
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
Package design is the single source of truth of Enduro's API.
Package design is the single source of truth of Enduro's API.
gen

Jump to

Keyboard shortcuts

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