feign

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	ServiceName string
}

func (*Client) Get

func (c *Client) Get(path string, params map[string]interface{}, result interface{}) (int, error)

func (*Client) Post

func (c *Client) Post(path string, params map[string]interface{}, result interface{}) (int, error)

func (*Client) PostJSON

func (c *Client) PostJSON(path string, params interface{}, result interface{}) (int, error)

func (*Client) PostJSONWithHeader

func (c *Client) PostJSONWithHeader(path string, headers map[string]string, params interface{}, result interface{}) (int, error)

func (*Client) PostWithHeader

func (c *Client) PostWithHeader(path string, headers map[string]string, params map[string]interface{}, result interface{}) (int, error)

Jump to

Keyboard shortcuts

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