Documentation ¶
Index ¶
- func AsciiToChar(start int, end int) []string
- func CheckErr(e error, errMsg ...interface{})
- func DirExists(path string) bool
- func FileExists(path string) bool
- func MakeNumList(start int, end int) []string
- func MakeRequest(method, url string, customTransport *http.Transport, t, rt int, ...)
- func ShowDebug(msg ...string)
- func ShowError(msg ...interface{})
- func ShowInfo(msg ...string)
- func ShowSuccess(msg ...interface{})
- func ShowWarning(msg ...interface{})
- func ToInt(s string) (bool, int)
- func WriteFile(filePath string, fileData string)
- type JsonExportTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsciiToChar ¶
function to convert ascii to character
func MakeNumList ¶
Takes two integer as input and returns list of numbers from first arg -> second arg
func MakeRequest ¶
func MakeRequest(method, url string, customTransport *http.Transport, t, rt int, out chan []string, wg *sync.WaitGroup)
make concurrent requests
func ShowSuccess ¶
func ShowSuccess(msg ...interface{})
func ShowWarning ¶
func ShowWarning(msg ...interface{})
Types ¶
type JsonExportTemplate ¶
type JsonExportTemplate struct { Export string `json:"export_type"` Method string `json:"method"` Target string `json:"target"` Date string `json:"date_time"` Result map[string][]string `json:"result"` }
for json export rename the members
func (JsonExportTemplate) WriteJson ¶
func (j JsonExportTemplate) WriteJson(filePath string)
Click to show internal directories.
Click to hide internal directories.