Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Getserverurl ¶
func Http ¶
func Http(keyName string, request MicHttpRequest, returnMap HttpResponseMap, wg *sync.WaitGroup)
Types ¶
type HttpRequestMap ¶
type HttpRequestMap map[string]MicHttpRequest
type HttpResponseMap ¶
type HttpResponseMap map[string]interface{}
func RequesAll ¶
func RequesAll(requestMap HttpRequestMap) HttpResponseMap
type MicHttpRequest ¶
type MicHttpRequest struct { ServiceId string EndPoint string Method string Url string Param interface{} Header map[string]string Timeout time.Duration }
func (*MicHttpRequest) GetRequesBytes ¶
func (r *MicHttpRequest) GetRequesBytes() ([]byte, error)
func (*MicHttpRequest) GetRequesString ¶
func (r *MicHttpRequest) GetRequesString() (string, error)
func (*MicHttpRequest) MicRequest ¶
func (r *MicHttpRequest) MicRequest() (*httplib.HTTPRequest, error)
func (*MicHttpRequest) Request ¶
func (r *MicHttpRequest) Request() *httplib.HTTPRequest
Click to show internal directories.
Click to hide internal directories.