handlers

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFile

func AddFile(name string) error

func AddFileAtPath

func AddFileAtPath(name string, path string) error

func AddRequest

func AddRequest(fpath, requestName string) error

func Autoregister

func Autoregister(cwd string) error

func EditCollectionEnvTUI

func EditCollectionEnvTUI(fpath string) error

func EditRequest

func EditRequest(fpath, requestName string) error

func ExecuteRequest

func ExecuteRequest(fpath, requestName, currentEnv string, overrides data.EnvMapValue) error

func GetCollection

func GetCollection(fpath string) (*data.Collection, error)

func GetConfig

func GetConfig() (*data.Config, error)

func GetCurrentEnv

func GetCurrentEnv() (string, error)

func GetPreparedScript

func GetPreparedScript(fpath, requestName, currentEnv string, overrides data.EnvMapValue) (string, error)

func ListCollections

func ListCollections() ([]string, error)

func PrintCoreInfo

func PrintCoreInfo() error

func PrintFileInfo

func PrintFileInfo(fpath string) error

func Register

func Register(fpath string) error

func RemoveCollection

func RemoveCollection(fpath string) error

func RemoveRequest

func RemoveRequest(fpath, requestName string) error

func SetCurrentEnv

func SetCurrentEnv(newEnv string) error

func Unregister

func Unregister(fpath string) error

func UpdateCollectionEnv

func UpdateCollectionEnv(fpath string, env data.EnvMap) error

func UpdateCollectionName

func UpdateCollectionName(fpath, newName string) error

func UpdateRequestName

func UpdateRequestName(fpath, oldName, newName string) error

func UpdateRequestScript

func UpdateRequestScript(fpath, requestName string, newScript []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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