api

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentUser

func GetCurrentUser(c echo.Context) error

func GetSettings

func GetSettings(cfgProvier *config.ConfigProviderWithRefresh) func(echo.Context) error

func TemporalAPIHandler

func TemporalAPIHandler(cfgProvider *config.ConfigProviderWithRefresh, apiMiddleware []Middleware) echo.HandlerFunc

Types

type Auth

type Auth struct {
	Enabled bool
	Options []string
}

type CodecResponse

type CodecResponse struct {
	Endpoint    string
	AccessToken string
}

type Middleware

type Middleware func(c echo.Context) runtime.ServeMuxOption

type SettingsResponse

type SettingsResponse struct {
	Auth                        *Auth
	DefaultNamespace            string
	ShowTemporalSystemNamespace bool
	FeedbackURL                 string
	NotifyOnNewVersion          bool
	Codec                       *CodecResponse
	Version                     string
}

Jump to

Keyboard shortcuts

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