lru_http

package
v0.0.0-...-651528f Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LRUHttp

type LRUHttp struct {
	BaseUrl string
	// contains filtered or unexported fields
}

func GetInstance

func GetInstance() *LRUHttp

func (*LRUHttp) AppendCommonHeader

func (i *LRUHttp) AppendCommonHeader(headerContent map[string]string)

func (*LRUHttp) RequestJson

func (i *LRUHttp) RequestJson(method, reqUrl string, data interface{}, header map[string]string) (string, error)

Jump to

Keyboard shortcuts

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