Documentation ¶
Index ¶
- Constants
- func EncodePassword(pass, salt string) string
- func GetVariables(receive types.ReceiveRequest, c *gin.Context) (map[string]types.VariableItem, []byte, error)
- func ReplaceVariables(send *types.RestySendRequest, variables map[string]types.VariableItem)
- func Sha256(str string) string
- func UUID() string
- func ValidateVariables(variables map[string]types.VariableItem) error
- type Random
- func (r *Random) String(n int) string
- func (r *Random) StringWithLetters(n int) string
- func (r *Random) StringWithLowerLetters(n int) string
- func (r *Random) StringWithLowerNumberLetters(n int) string
- func (r *Random) StringWithNumberLetters(n int) string
- func (r *Random) StringWithUpperLetters(n int) string
- func (r *Random) StringWithUpperNumberLetters(n int) string
Constants ¶
View Source
const VariableTypeForm = "form"
View Source
const VariableTypeHeader = "header"
View Source
const VariableTypeJson = "json"
View Source
const VariableTypeQuery = "query"
Variables ¶
This section is empty.
Functions ¶
func EncodePassword ¶
func GetVariables ¶
func GetVariables(receive types.ReceiveRequest, c *gin.Context) (map[string]types.VariableItem, []byte, error)
func ReplaceVariables ¶
func ReplaceVariables(send *types.RestySendRequest, variables map[string]types.VariableItem)
func ValidateVariables ¶
func ValidateVariables(variables map[string]types.VariableItem) error
Types ¶
type Random ¶
type Random struct {
// contains filtered or unexported fields
}
func (*Random) StringWithLetters ¶
func (*Random) StringWithLowerLetters ¶
func (*Random) StringWithLowerNumberLetters ¶
func (*Random) StringWithNumberLetters ¶
func (*Random) StringWithUpperLetters ¶
func (*Random) StringWithUpperNumberLetters ¶
Click to show internal directories.
Click to hide internal directories.