api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(config configuration.Config, ctrl *scheduler.Scheduler, jwt util.Jwt) http.Handler

func SchedulerEndpoints

func SchedulerEndpoints(router *httprouter.Router, config configuration.Config, jwt util.Jwt, ctrl *scheduler.Scheduler)

func Start

func Start(ctx context.Context, wg *sync.WaitGroup, config configuration.Config, ctrl *scheduler.Scheduler, jwt util.Jwt) (err error)

starts http server; if wg is not nil it will be set as done when the server is stopped

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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