stores

package
v0.0.0-...-852c197 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrentEnvService

type CurrentEnvService interface {
	GetCurrentEnv(r *http.Request) (string, error)
	SetCurrentEnv(r *http.Request, env string) error
}

func NewCurrentEnvService

func NewCurrentEnvService(isReadonlyMode bool) CurrentEnvService

type ExecProxyService

type ExecProxyService interface {
	ExecuteRequest(fpath, requestName string, r *http.Request) error
	GetPreparedScript(fpath, requestName string, r *http.Request) (string, error)
}

type TempConfigService

type TempConfigService interface {
	SaveTempConfig(req *http.Request) error
	GetTempEnv(req *http.Request) (data.EnvMap, error)
	GetTempEnvValue(req *http.Request) (data.EnvMapValue, error)
}

func NewTempConfigService

func NewTempConfigService(ces CurrentEnvService) TempConfigService

Jump to

Keyboard shortcuts

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