api

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHealth

func CheckHealth(r *http.Request) error

func GetHealthInfo

func GetHealthInfo(w http.ResponseWriter, r *http.Request)

Currently only returns ok to check if the API server is listening

Types

type AppIconsApi

type AppIconsApi struct {
	MicroFrontendProvider *provider.MicroFrontendProvider
}

func (*AppIconsApi) GetAppIcon

func (api *AppIconsApi) GetAppIcon(w http.ResponseWriter, r *http.Request)

type MicroFrontendConfigApi

type MicroFrontendConfigApi struct {
	MicroFrontendProvider *provider.MicroFrontendProvider
}

func (*MicroFrontendConfigApi) GetMicroFrontendConfigs

func (api *MicroFrontendConfigApi) GetMicroFrontendConfigs(w http.ResponseWriter, r *http.Request)

func (*MicroFrontendConfigApi) GetMicroFrontendConfigsAsJavaScritp

func (api *MicroFrontendConfigApi) GetMicroFrontendConfigsAsJavaScritp(w http.ResponseWriter, r *http.Request)

type WebComponentApi

type WebComponentApi struct {
	MicroFrontendProvider *provider.MicroFrontendProvider
	Client                *http.Client
}

func (*WebComponentApi) GetWebComponent

func (api *WebComponentApi) GetWebComponent(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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