server

package
v0.0.0-...-6e2cd59 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGRPCServer

func InitGRPCServer(protocol string, host string, port uint64, opts []grpc.ServerOption, s *scheduler.Scheduler)

InitGRPCServer Initializes the gRPC server for diago

func NewUIBox

func NewUIBox(router *mux.Router)

NewUIBox Creates a packr box for diago-ui

Types

type APIServer

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

APIServer serves API calls over HTTP

func NewAPIServer

func NewAPIServer(jf mgr.JobFunnel, sm mgr.ScheduleManager) *APIServer

NewAPIServer create a new APIServer

func (*APIServer) Start

func (server *APIServer) Start(router *mux.Router)

Start starts the APIServer

Jump to

Keyboard shortcuts

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