api

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(ctx context.Context) error

Close represents the graceful shutting down of the http server

func CreateRendererAPI

func CreateRendererAPI(ctx context.Context, bindAddr string, allowedOrigins string, errorChan chan error, hc *healthcheck.HealthCheck)

CreateRendererAPI manages all the routes configured to the renderer

func HttpHandlerTag added in v1.10.0

func HttpHandlerTag(route string, h http.Handler) http.Handler

Types

type RendererAPI

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

RendererAPI manages rendering tables from json

Jump to

Keyboard shortcuts

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