profiles

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SanitizeLogs = true

Functions

func ClearAllRequestLogs added in v0.6.0

func ClearAllRequestLogs() error

func GetAllRequestLogTitles added in v0.6.0

func GetAllRequestLogTitles() ([]string, error)

func GetConfigFilePath added in v0.6.0

func GetConfigFilePath() string

func GetNthRequestLog added in v0.6.0

func GetNthRequestLog(n int) (string, error)

func GetProfile added in v0.6.0

func GetProfile(name string) *config.Env

func GetProfileDataDirectory added in v0.6.0

func GetProfileDataDirectory() string

func GetProfileDirectory

func GetProfileDirectory() string

func GetProfileName

func GetProfileName() string

func LogRequestToDisk added in v0.6.0

func LogRequestToDisk(requestMethod string, requestPath string, requestBytes []byte, responseBytes []byte, responseCode int) error

func SaveRequest added in v0.6.0

func SaveRequest(title string, requestBytes []byte, responseBytes []byte) error

func SetProfileName added in v0.10.0

func SetProfileName(s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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