utils

package
v0.0.0-...-ad347d9 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseDir string

Functions

func ConvertHeaders

func ConvertHeaders(httpHeaders http.Header) []domain.Header

func EnsureDir

func EnsureDir(path string) error

func ExtractValueFromResponse

func ExtractValueFromResponse(response domain.Response, extractPath string) (string, error)

func GetCurrentStorageLocation

func GetCurrentStorageLocation() string

func GetDefaultCollectionsPath

func GetDefaultCollectionsPath() string

func GetDefaultEnvironmentsPath

func GetDefaultEnvironmentsPath() string

func GetDefaultLogsPath

func GetDefaultLogsPath() string

func PrettyJSON

func PrettyJSON(input string) (interface{}, error)

func SubstituteRequestVariables

func SubstituteRequestVariables(req domain.Request, env *domain.Environment)

func SubstituteVariables

func SubstituteVariables(input string, env *domain.Environment) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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