transport

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 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 Transport

type Transport struct {
	Endpoint string
}

func (*Transport) Get

func (p *Transport) Get(path string, param *map[string]string, accessToken string) ([]byte, error)

func (*Transport) Post

func (p *Transport) Post(path string, param *map[string]interface{}, accessToken string) ([]byte, error)

func (*Transport) PostJson

func (p *Transport) PostJson(path string, param map[string]interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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