mvc

package
v0.0.0-...-6781889 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpClient

func NewHttpClient(hoptions *HttpClientOptions) *http.Client

Types

type HttpClientOptions

type HttpClientOptions struct {
	ProxyURL string
}

type RequestClient

type RequestClient struct {
	// contains filtered or unexported fields
}

func NewRequestClient

func NewRequestClient(hoptions *HttpClientOptions) *RequestClient

func (*RequestClient) Get

func (c *RequestClient) Get(url string, retry bool) ([]byte, error)

func (*RequestClient) GetObj

func (c *RequestClient) GetObj(url string, result interface{}) error

func (*RequestClient) GetString

func (c *RequestClient) GetString(url string) (string, error)

Jump to

Keyboard shortcuts

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