api

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 19 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, config *Config,
	pipesvc intpipe.Service,
	batchsvc intbatch.Service,
	colsvc intcol.Service,
) *http.Server

Types

type Config

type Config struct {
	Listen     string
	Debug      bool
	AppVersion string
}

Directories

Path Synopsis
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