controller

package
v0.0.0-...-9f00eee Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const CollectionTest = "test"
View Source
const CollectionTrain = "train"

Variables

This section is empty.

Functions

func Start

func Start(logger *zap.Logger, port int, schedulerUrl, psUrl string)

Start starts the controller in the specified port

Types

type Controller

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

Main struct of the controller

func (*Controller) Serve

func (c *Controller) Serve(port int)

Starts the Controller API to handle requests

Directories

Path Synopsis
old
v1

Jump to

Keyboard shortcuts

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