http

package
v0.0.0-...-eb184ca Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeStr

func EncodeStr(input string, encoding string) string

Types

type HttpClient

type HttpClient struct {
	http.Client
	IsLogin bool
}

func DefaultClient

func DefaultClient() *HttpClient

func (*HttpClient) Login

func (h *HttpClient) Login()

func (*HttpClient) RunStep

func (h *HttpClient) RunStep(step *cfg.Step, context *map[string]string) (map[string]interface{}, error)

func (*HttpClient) RunTask

func (h *HttpClient) RunTask(task *cfg.Task) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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