server

package
v0.0.1-alpha4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPConfig

func GetHTTPConfig(c echo.Context) error

GetHTTPConfig returns the HTTP config for the UI

func RegisterHandlers

func RegisterHandlers(e *echo.Echo, c *config.Config)

RegisterHandlers registers all handlers for the API

Types

type HTTPAuthConfigResponse

type HTTPAuthConfigResponse struct {
	JWT  *config.HTTPJWTAuthConfig `json:"jwt"`
	Type string                    `json:"type"`
}

HTTPAuthConfigResponse is the response for HTTP authentication config

type HTTPConfigResponse

type HTTPConfigResponse struct {
	Auth *HTTPAuthConfigResponse `json:"auth"`
}

HTTPConfigResponse is the response for HTTP config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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